summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-11 20:21:49 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-11 20:21:49 +0000
commit0d5f8193108d934a984ff9929ad188e2747c9ee7 (patch)
tree70243350a7aaf78cdc8b30328c95b9605249415e /dev-cpp/gmock
parentRemove entries for fixed xfce4-weather-plugin and removed xpilot-ng, londonla... (diff)
downloadgentoo-2-0d5f8193108d934a984ff9929ad188e2747c9ee7.tar.gz
gentoo-2-0d5f8193108d934a984ff9929ad188e2747c9ee7.tar.bz2
gentoo-2-0d5f8193108d934a984ff9929ad188e2747c9ee7.zip
Add an older version to match versions available for gtest.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/gmock')
-rw-r--r--dev-cpp/gmock/ChangeLog7
-rw-r--r--dev-cpp/gmock/gmock-1.4.0.ebuild32
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-cpp/gmock/ChangeLog b/dev-cpp/gmock/ChangeLog
index 677bc69b4c55..787f241eac7d 100644
--- a/dev-cpp/gmock/ChangeLog
+++ b/dev-cpp/gmock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/gmock
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/ChangeLog,v 1.2 2011/11/11 20:12:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/ChangeLog,v 1.3 2011/11/11 20:21:49 vapier Exp $
+
+*gmock-1.4.0 (11 Nov 2011)
+
+ 11 Nov 2011; Mike Frysinger <vapier@gentoo.org> +gmock-1.4.0.ebuild:
+ Add an older version to match versions available for gtest.
11 Nov 2011; Mike Frysinger <vapier@gentoo.org> gmock-1.5.0.ebuild:
Update gtest depend after category migration #387155.
diff --git a/dev-cpp/gmock/gmock-1.4.0.ebuild b/dev-cpp/gmock/gmock-1.4.0.ebuild
new file mode 100644
index 000000000000..fb7017a9388d
--- /dev/null
+++ b/dev-cpp/gmock/gmock-1.4.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.4.0.ebuild,v 1.1 2011/11/11 20:21:49 vapier Exp $
+
+EAPI="4"
+
+DESCRIPTION="Google's C++ mocking framework"
+HOMEPAGE="http://code.google.com/p/googlemock/"
+SRC_URI="http://googlemock.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=dev-cpp/gtest-${PV}"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ default
+ # make sure we always use the system one
+ rm -r "${S}"/gtest/Makefile* || die
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || find "${D}" -name '*.la' -delete
+}