summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2010-01-21 08:26:48 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2010-01-21 08:26:48 +0900
commitf286895e774599e79f918d66ca68f4649047efdc (patch)
tree693b56dc7344121ba3e88650a3e50afa5545806e
parentnet-misc/kumofs: Initial import. (diff)
downloadmatsuu-f286895e774599e79f918d66ca68f4649047efdc.tar.gz
matsuu-f286895e774599e79f918d66ca68f4649047efdc.tar.bz2
matsuu-f286895e774599e79f918d66ca68f4649047efdc.zip
dev-util/gtest: Initial import.
-rw-r--r--dev-util/gtest/Manifest3
-rw-r--r--dev-util/gtest/files/gtest-1.4.0-asneeded.patch12
-rw-r--r--dev-util/gtest/gtest-1.4.0.ebuild29
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/gtest/Manifest b/dev-util/gtest/Manifest
new file mode 100644
index 0000000..f491cf8
--- /dev/null
+++ b/dev-util/gtest/Manifest
@@ -0,0 +1,3 @@
+AUX gtest-1.4.0-asneeded.patch 570 RMD160 29ecf42d7b598cbb4c4b7e672700b1e289419b39 SHA1 c92b510db57e9e4e4b897e7ebfeedd600724773b SHA256 f0ea8562468d24a9a624c7bdb9b98253d69f98ccada6a9ab628c6e8ff3b39811
+DIST gtest-1.4.0.tar.bz2 525425 RMD160 2688f9e4c68af10a5974af91c0fe2dd551cf72c7 SHA1 d26e1a67ec08a9d6167ecf77c61961c469f448b2 SHA256 c848158f1fca599d6339b9f00e3fdee6153dc518a23c793ccf757f8aa4ad17e9
+EBUILD gtest-1.4.0.ebuild 589 RMD160 32545b244692897853b8370b17fee19ef11c25cb SHA1 b7c01e40e267ba5a6141d96e7119c60791467c13 SHA256 a1e2b05562daaf5e0d3403ba30a1c7dae3fb1852eff26ecf2342420bfab5f7c5
diff --git a/dev-util/gtest/files/gtest-1.4.0-asneeded.patch b/dev-util/gtest/files/gtest-1.4.0-asneeded.patch
new file mode 100644
index 0000000..f8e7d00
--- /dev/null
+++ b/dev-util/gtest/files/gtest-1.4.0-asneeded.patch
@@ -0,0 +1,12 @@
+diff -Naur gtest-1.4.0.orig/Makefile.am gtest-1.4.0/Makefile.am
+--- gtest-1.4.0.orig/Makefile.am 2009-10-02 16:04:30.000000000 +0900
++++ gtest-1.4.0/Makefile.am 2010-01-20 16:52:34.000000000 +0900
+@@ -305,7 +305,7 @@
+ TESTS += test/gtest-unittest-api_test
+ check_PROGRAMS += test/gtest-unittest-api_test
+ test_gtest_unittest_api_test_SOURCES = test/gtest-unittest-api_test.cc
+-test_gtest_unittest_api_test_LDADD = lib/libgtest_main.la
++test_gtest_unittest_api_test_LDADD = lib/libgtest.la
+
+ TESTS += test/gtest-listener_test
+ check_PROGRAMS += test/gtest-listener_test
diff --git a/dev-util/gtest/gtest-1.4.0.ebuild b/dev-util/gtest/gtest-1.4.0.ebuild
new file mode 100644
index 0000000..07d4fb5
--- /dev/null
+++ b/dev-util/gtest/gtest-1.4.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit autotools eutils
+
+DESCRIPTION="Google C++ Testing Framework"
+HOMEPAGE="http://code.google.com/p/googletest/"
+SRC_URI="http://googletest.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.3"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc CHANGES CONTRIBUTORS README || die
+}