Revision bump, drop prolog support (bug #307015 by Robert Cabrera).
authorRyan Hill <rhill@gentoo.org>
Sat, 27 Feb 2010 05:31:07 +0000 (05:31 +0000)
committerRyan Hill <rhill@gentoo.org>
Sat, 27 Feb 2010 05:31:07 +0000 (05:31 +0000)
Clean up ebuild.
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64

dev-libs/ppl/ChangeLog
dev-libs/ppl/Manifest
dev-libs/ppl/ppl-0.10.2-r1.ebuild [new file with mode: 0644]

index c6189a58431943afabdf123c85cd5e2c805de696..e1578ca5270fa718aa0c21ef5d0141afeeb2334d 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/ppl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ChangeLog,v 1.18 2009/09/19 23:30:17 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ChangeLog,v 1.19 2010/02/27 05:31:07 dirtyepic Exp $
+
+*ppl-0.10.2-r1 (27 Feb 2010)
+
+  27 Feb 2010; Ryan Hill <dirtyepic@gentoo.org> +ppl-0.10.2-r1.ebuild:
+  Revision bump, drop prolog support (bug #307015 by Robert Cabrera).
+  Clean up ebuild.
 
   19 Sep 2009; Alexis Ballier <aballier@gentoo.org> ppl-0.10.2.ebuild:
   keyword ~x86-fbsd
index 94bd7a26693f84d93d03864ebf6c0cda491b523c..503151848b5dc36fd93dd66c6a0af57962c3cae0 100644 (file)
@@ -2,13 +2,14 @@
 Hash: SHA1
 
 DIST ppl-0.10.2.tar.bz2 9820135 RMD160 432d0e59c058cc1da6cfeaffcb91bebc7b6e1db2 SHA1 9af711df8f24658a6deb61ca3b8c5e82366258bf SHA256 fe40fb7800f75b5f3532d5b2320a5c8c404dc6eed73c1a439489126fe970e277
+EBUILD ppl-0.10.2-r1.ebuild 1780 RMD160 4b63d4b5404684b78e5e9ffd221bd19f8a1e4b77 SHA1 59d3772e35953659193f56a8e9abcf070018a0cd SHA256 56a224da876af668d22c980ced6ec72fc533de48ccb6cbfbd7e7784f1449a293
 EBUILD ppl-0.10.2.ebuild 1814 RMD160 21ed32f0e206f6c294ed1ebb4e48d45cadb49e60 SHA1 e1179c0dee4bf05e8169b5eb0bc79467300ed8e7 SHA256 740f50d55cb6f799ed1f58ef85882e871d0c34edd4e13f7d7de5d82758f2cfa5
-MISC ChangeLog 2830 RMD160 d438082cdac10f13a90336efdaa67b904c4cc361 SHA1 1f3a2f757cd13cff7d6b6d95839fb6d80381ecbd SHA256 66fdbe6095e91917d29d5f744a3b68a2793e54a53321ca13fe9f975a573ac92a
+MISC ChangeLog 3022 RMD160 fd6b0c39d782003dbc70639d53ac6683149293c7 SHA1 86c9458a2389b405c41000ebcb63b326acfef5b4 SHA256 5341ac0c31b2ffe4dec14222f4e690442ec3fd1a6fbdf04716b3f90b8bebea47
 MISC metadata.xml 440 RMD160 a4c92b3ae3ef3d0901e87b0601f82a221cce0159 SHA1 e39f641f21b8b373e7b8c355b439676831c68c89 SHA256 1f9d7206502c8c7dfcb3f2cb603dec0b45dc6c64c8e5b99138ffdf8b31a96e8f
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.11 (GNU/Linux)
 
-iEYEARECAAYFAkq1aY8ACgkQvFcC4BYPU0rL2QCcCdgciUhlkbc4cJnvh/55AF8j
-hi4AoLVilrbBAapwWdN+CqZuxYbtuTdc
-=aN5t
+iEYEARECAAYFAkuIrrkACgkQiqiDRvmkBmJSuQCfc5k/cqWKoAMHXMBCnthjRYVC
+bRoAoMRHPsTlcc5xX6QAChBfrmKAV03V
+=Pcqu
 -----END PGP SIGNATURE-----
diff --git a/dev-libs/ppl/ppl-0.10.2-r1.ebuild b/dev-libs/ppl/ppl-0.10.2-r1.ebuild
new file mode 100644 (file)
index 0000000..3970665
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.10.2-r1.ebuild,v 1.1 2010/02/27 05:31:07 dirtyepic Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="The Parma Polyhedra Library provides numerical abstractions for analysis of complex systems"
+HOMEPAGE="http://www.cs.unipr.it/ppl/"
+SRC_URI="http://www.cs.unipr.it/ppl/Download/ftp/releases/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc pch test watchdog"
+
+RDEPEND=">=dev-libs/gmp-4.1.3[-nocxx]"
+DEPEND="${RDEPEND}
+               sys-devel/m4"
+
+pkg_setup() {
+       if use test; then
+               ewarn "The PPL testsuite will be run."
+               ewarn "Note that this can take several hours to complete on a fast machine."
+               epause 3
+       fi
+}
+
+src_configure() {
+       # --disable-check doesn't work
+       use test && want_check="--enable-check=quick"
+       econf                                   \
+               --docdir=/usr/share/doc/${PF}       \
+               --disable-debugging                 \
+               --disable-optimization              \
+               $(use_enable pch)                   \
+               $(use_enable watchdog)              \
+               --enable-interfaces="c cxx"         \
+               ${want_check}                       \
+               || die "configure failed"
+}
+
+src_test() {
+       # default src_test runs with -j1, overriding it here saves about
+       # 30 minutes and is recommended by upstream
+       if emake -j1 check -n &> /dev/null; then
+               emake check || die "tests failed"
+       fi
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "install failed"
+
+       if ! use doc; then
+               rm -r "${D}"/usr/share/doc/${PF}/ppl-user*-html
+               rm -r "${D}"/usr/share/doc/${PF}/pwl-user*-html
+       fi
+
+       cd "${S}"
+       dodoc NEWS README README.configure STANDARDS TODO
+}