summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/gtest/ChangeLog7
-rw-r--r--dev-util/gtest/Manifest26
-rw-r--r--dev-util/gtest/gtest-1.4.0.ebuild26
-rw-r--r--dev-util/gtest/metadata.xml11
4 files changed, 36 insertions, 34 deletions
diff --git a/dev-util/gtest/ChangeLog b/dev-util/gtest/ChangeLog
index 55842c0ccd3b..3a6cb07e81ed 100644
--- a/dev-util/gtest/ChangeLog
+++ b/dev-util/gtest/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/gtest
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gtest/ChangeLog,v 1.1 2010/03/01 23:54:29 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtest/ChangeLog,v 1.2 2010/03/02 07:33:16 dev-zero Exp $
+
+ 02 Mar 2010; Tiziano Müller <dev-zero@gentoo.org> gtest-1.4.0.ebuild,
+ metadata.xml:
+ Fixed sandbox violation in src_test, install examples on demand, added
+ static-libs use flag, added upstream doc link to metadata.
*gtest-1.4.0 (01 Mar 2010)
diff --git a/dev-util/gtest/Manifest b/dev-util/gtest/Manifest
index 4c01ee0c1fd0..3568cd29ae53 100644
--- a/dev-util/gtest/Manifest
+++ b/dev-util/gtest/Manifest
@@ -1,25 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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 684 RMD160 bb782ef85b0980811e07a108f1ad493a26e0daa8 SHA1 dc0bb12d272c260680ce215845debf90dfce11e0 SHA256 ad7f3eaeb5644f9c51cf1f4443026906e792f162480431c1ae3cb2ef4adc6b1b
-MISC ChangeLog 370 RMD160 4381ee210b4770e42340407839c766ed25017ee4 SHA1 408a856231e120a805935d1929bb4ad25b1331b8 SHA256 dd649be794211a4ba0eb9f5b1433d466718f779331cb77d9d4464816b9872483
-MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iQIcBAEBAgAGBQJLjFPIAAoJECaGw+YFKA1pt8sQAIW67NEHWVIUFpnFWhV6u945
-rZPi78MHLqAU9lQ2ZQataxkinqDw3cb8R0XgYun2qBRuoMya9TEIwC9+IRUt87cc
-eUfW+0yzyJ9xWMdEdJlP1CtcN2/qj1bq+rKsrZucPErPHM1GPPxP8Y+SsmCzwcd1
-F+8eek3RAfyh47MmEdLJ6rJYCjPJUTl4JnfGNP45bOWIC8mtBxrjRecb5l5hVKy3
-9q3SHQbK6Sv0CYtrrFQChmL71UY2urw7zCaz/trwxyWPtM/+RukGplQb+lUtMDLR
-pKzi3PJV9e9RSbOmntxCoSEufh4HpELxyALc85gjO/ZIZRlvE5yJ+bn4DNricMYV
-sIvIH3KE7h6LCUGKHy1vFp3DtOfipmEqLPrPEtjGe2WYf1DTgZ/gp+qrohcHBZEf
-7Wc4C5+d8AXFgfKvXsSJkCSViKEiBVzlRXNAEITil+acYrFUATpTV7BTEaTjkwTv
-lrLgsY8EtV8ZOJ4oZodaWhMbaMnxmOTkHSSxIPCBKrKyoQ8fRyeU351iHwnECnRk
-dAb8YrVJsEJ2pPN4dUpy3buSFTq9NRNO2rywc4GYKuxlXDEElghAJFe8iGDk3+tv
-Ju+6/URhM8syCqkF02OYUbwCsLlgrKV1mFLjgkX73NkwOUQR2jIZeXVPNKjH7/JK
-eqC83xEsSP8Xs4fQo0lE
-=1iB+
------END PGP SIGNATURE-----
+EBUILD gtest-1.4.0.ebuild 987 RMD160 31df235b1707b6c6f0ead6d11e5327fb70030003 SHA1 a86142d9672b7c13613718702a3581455dee8b17 SHA256 1b73a8728b98d9137295db8a3daae8e3c9f2f7eb3d807c2f571c13054858ae61
+MISC ChangeLog 596 RMD160 b94c36067126630209340aee7da1bccc5e455917 SHA1 63942be9c446949c049941ff03ce754ed4aeecee SHA256 951d0cb315b1451789d8562a71b92bb0d469d924955363547754a6ec8793f5b0
+MISC metadata.xml 326 RMD160 a59e343f68199323d08940ee5bd6fbba7a9473b4 SHA1 73df1273b59a97a506537b14e872467068c0cc6c SHA256 f2506d29940947098b54be458f1d701fa2566868ef25c30e78e434522024fdb0
diff --git a/dev-util/gtest/gtest-1.4.0.ebuild b/dev-util/gtest/gtest-1.4.0.ebuild
index 388ac87cd4b9..8c64796afc36 100644
--- a/dev-util/gtest/gtest-1.4.0.ebuild
+++ b/dev-util/gtest/gtest-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gtest/gtest-1.4.0.ebuild,v 1.1 2010/03/01 23:54:29 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtest/gtest-1.4.0.ebuild,v 1.2 2010/03/02 07:33:16 dev-zero Exp $
EAPI="2"
inherit autotools eutils
@@ -12,18 +12,32 @@ SRC_URI="http://googletest.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="examples static-libs"
-DEPEND=">=dev-lang/python-2.3"
-RDEPEND="${DEPEND}"
+DEPEND="dev-lang/python"
+RDEPEND=""
src_prepare() {
+ sed -i -e "s|/tmp|${T}|g" test/gtest-filepath_test.cc || die "sed failed"
+
epatch "${FILESDIR}/${P}-asneeded.patch"
eautoreconf
}
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc CHANGES CONTRIBUTORS README
+
+ use static-libs || rm "${D}"/usr/lib*/*.la
- dodoc CHANGES CONTRIBUTORS README || die
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins samples/*.{cc,h}
+ fi
}
diff --git a/dev-util/gtest/metadata.xml b/dev-util/gtest/metadata.xml
index 5b14597b8ad0..dc69d918ea94 100644
--- a/dev-util/gtest/metadata.xml
+++ b/dev-util/gtest/metadata.xml
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
-<email>matsuu@gentoo.org</email>
-</maintainer>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>matsuu@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <doc lang="en">http://code.google.com/p/googletest/w/list</doc>
+ </upstream>
</pkgmetadata>