diff options
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/swi-prolog/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.11.13.ebuild | 125 |
3 files changed, 135 insertions, 2 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 8b1929e3484e..67f3a80d4a75 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.262 2011/01/21 19:18:01 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.263 2011/01/24 17:53:03 keri Exp $ + +*swi-prolog-5.11.13 (24 Jan 2011) + + 24 Jan 2011; <keri@gentoo.org> +swi-prolog-5.11.13.ebuild: + Bump -5.11 development version *swi-prolog-5.11.12 (21 Jan 2011) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 69dd7116d82b..42d47a061c48 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -4,6 +4,7 @@ DIST pl-5.10.2.tar.gz 13200131 RMD160 15e68db42ce09579ecd774e496e04fdc35e500d0 S DIST pl-5.11.10.tar.gz 13273174 RMD160 08690af43daae9b2c23ddae49136363498dd620c SHA1 6c2c941241ec3a4f8f062c014363b6e388805bbc SHA256 3dd9309e935e7b4f7716679b3240fa4ecd4cde862dc2ccb802cc3002c50d70ea DIST pl-5.11.11.tar.gz 13306544 RMD160 d7521dc34cad7882f09bb193193125ceab3892d5 SHA1 9ca62708df9283fd06a4bcfb62caf11e892e89e8 SHA256 4bec5ad4d8905aae909ec98d92ef8c8154599dcb1fa2b5c0c6c5ae134525dfb7 DIST pl-5.11.12.tar.gz 13274958 RMD160 7d9ec781ac67ddc4ee2ac3eb4926879b6eb42363 SHA1 b94885f7b93adcacfaa0407cb364f52e658b0b29 SHA256 58903cebb4e0a41088ad50e5c49ed675196e78009fe2e3848cbb5eb9a127ddb7 +DIST pl-5.11.13.tar.gz 13282577 RMD160 ec6d4f20df5a77ed089a3d543ff2298b50fb20f8 SHA1 8f29635e98278fcc9a1705f07ca0260130edd86a SHA256 f3c1c5f20123c83d770c90f4dc13c1c6af9e02e3a3b04fca36450ae2917618c1 DIST pl-5.11.9.tar.gz 13236011 RMD160 c39ea6bd70fd12e3db26e03f1f914db687606c80 SHA1 61c439c150716e587a22773c45e53b88e83d6134 SHA256 8e3fd2eb6e59168007c3cd5cdb3be9705d3fa824227ebb5f97d51d5f6105d3a5 DIST swi-prolog-5.10.0-gentoo-patchset-5.tar.gz 6736 RMD160 1ee3a67b79170035a9eea2af205a4a8db4d9577b SHA1 014108672e644c45fcf362e946e42e7012e2161b SHA256 7ea3f73b40251c084203ecabced8133f1bcce741cc39ae17fb8fad3d493928a4 DIST swi-prolog-5.10.1-gentoo-patchset-2.tar.gz 6492 RMD160 6ae7ef5a35ebad41ee94c019280a9a5a4a0685ee SHA1 512589a602169bd2254ac15c5a670f608ccb3ffe SHA256 2908830414ebf49f7674f49c9bd3a93e809cd16bc35196de2b88d1788915c1ab @@ -11,6 +12,7 @@ DIST swi-prolog-5.10.2-gentoo-patchset-4.tar.gz 5999 RMD160 ffb7f568142075f7678b DIST swi-prolog-5.11.10-gentoo-patchset-2.tar.gz 5993 RMD160 b95c3b833c55b12d68453a8a89e99ca654ef52dd SHA1 e819ce263a27c21ec93ca8138a417da2f77b3018 SHA256 9054e84c536cd86e43e5c76445f6bcfbd141b7e2e0b7739012303acc8ade10fe DIST swi-prolog-5.11.11-gentoo-patchset-0.tar.gz 6072 RMD160 221ff68dafc6a2843156f5d428ad3242236e7f0b SHA1 4a636dc72fb8799a85f417ea914cd8006442a831 SHA256 f34c431d515f83c05ec06032d67d3d85004a462a9d2898fbc156b171dfe5a7d4 DIST swi-prolog-5.11.12-gentoo-patchset-0.tar.gz 6071 RMD160 4ccd6a34eefd9e3ea111ff251fd704b2d0a91081 SHA1 d5602896808f72e230b648072d5f61a92cf14272 SHA256 c886fdabeaa6f11ff27f5eeab732a9150a878085263dae26e0dcb041d5b6e888 +DIST swi-prolog-5.11.13-gentoo-patchset-0.tar.gz 6071 RMD160 a8d2b0a7357eb9967a1068ecec4c29bda2dd1e23 SHA1 c6b9bd13191fc34fc7ed484b3e9f2a58b662579d SHA256 8ea8d7a31791f68459aea5ea4da46678df5c9651be08c8009d49ab21d47b485f DIST swi-prolog-5.11.9-gentoo-patchset-0.tar.gz 5567 RMD160 63898d2032e9e9a812cfc3256a53ea0f5f2fe574 SHA1 f7f45885ec2e78ebc1173b4cde96059432a62d76 SHA256 95a93c91de2a4f82ba27269c2c2920cc215e78897946d934a5e1464502700f1d EBUILD swi-prolog-5.10.0-r1.ebuild 3307 RMD160 bd591cf7038814efa8f5ab84f52761cfb434ed3e SHA1 7d093d1d8ed206dac5628eb6e76bc14aa1c503f9 SHA256 251d12024d514790d8e0e701d78662360b373329c6f30ba33348d9c4fb5854cb EBUILD swi-prolog-5.10.1.ebuild 3250 RMD160 7e0889c09b216ab214f91a7f76f6bc305340f088 SHA1 c7088b0298f39cb6a563bd4446aa0643c36771fd SHA256 ac91f4cd42c0e9ca2a10d8fd9317fe4756bb4354f5e600e994d957ef7f94f9f6 @@ -18,6 +20,7 @@ EBUILD swi-prolog-5.10.2.ebuild 3037 RMD160 5a77e07adbfb6ae0bba61e0af31a7692954f EBUILD swi-prolog-5.11.10.ebuild 3038 RMD160 fd19fe6b3770304d6c186707f4d574993f27b40a SHA1 e7dabd450ff2d2f6a6b061da18eb03305fe081ab SHA256 0fad209155aa1cba0fa767ed23b45273b98720bd9c5b700dc8e363bc2ccdbd51 EBUILD swi-prolog-5.11.11.ebuild 2863 RMD160 03550f1b98547ef6cb27f067983db4f4c6a705c8 SHA1 fa30c33ca82a99e6b81d7cbd42ffdca43350c82d SHA256 b6ab140665b19bbe2ff2c7594a25ee3d440d835918fb36e08b86b98c86b1e8b1 EBUILD swi-prolog-5.11.12.ebuild 2882 RMD160 3fb21a345d82b4e6916ea386d9743b36d76b5e27 SHA1 e7f854e6a3cba06c800d1ca7839eb29accf9b431 SHA256 e368b233716e4a8b9c23c419cbd51b58ff9eece6a4f0e1c9370620109b4e96e8 +EBUILD swi-prolog-5.11.13.ebuild 2882 RMD160 a2ed8025ff72080ed3a42032108895d09b28d0f5 SHA1 248f1b91455884a8c252bcee96dcb78a296a7a4d SHA256 e9813dfc28d18788330b506cc0bc435b8af68903b6f9cf44e750f40081a7b8a6 EBUILD swi-prolog-5.11.9.ebuild 2999 RMD160 dc005456e2f802055f6243368426f7cb3972f179 SHA1 e6cf4e00bcde042e6fbfd4009a9577e64c3b76bb SHA256 b9bce3ccaa789b11bd48bfd230d5af649782cbc49fdfdd4157839dc95bbf6329 -MISC ChangeLog 41458 RMD160 1bd9ad87e41588f62a0da9947dd0eb789b42d070 SHA1 c2d4085e5ab096853514e973647c3a918b3288eb SHA256 4f53a9ac11e8c78efc7863969f5eff32f46392ff0a47b03ddfed509b357b6252 +MISC ChangeLog 41588 RMD160 4d7c47e47d223bd3e682b2b4dd63639f59c5b283 SHA1 bae9a9e10e015a00234675e5b36a9c67bed43a64 SHA256 2dfca6ca22aa4f45648c55affeb930107f569021afe46126930809d65e5b709f MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba diff --git a/dev-lang/swi-prolog/swi-prolog-5.11.13.ebuild b/dev-lang/swi-prolog/swi-prolog-5.11.13.ebuild new file mode 100644 index 000000000000..8b065303b458 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.11.13.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.13.ebuild,v 1.1 2011/01/24 17:53:03 keri Exp $ + +EAPI=2 + +inherit eutils flag-o-matic java-pkg-opt-2 + +PATCHSET_VER="0" + +DESCRIPTION="free, small, and standard compliant Prolog compiler" +HOMEPAGE="http://www.swi-prolog.org/" +SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz + mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X" + +RDEPEND="sys-libs/ncurses + zlib? ( sys-libs/zlib ) + odbc? ( dev-db/unixODBC ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + ssl? ( dev-libs/openssl ) + java? ( >=virtual/jdk-1.4 ) + X? ( + virtual/jpeg + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM )" + +DEPEND="${RDEPEND} + X? ( x11-proto/xproto ) + java? ( test? ( =dev-java/junit-3.8* ) )" + +S="${WORKDIR}/pl-${PV}" + +src_prepare() { + EPATCH_FORCE=yes + EPATCH_SUFFIX=patch + epatch "${WORKDIR}"/${PV} +} + +src_configure() { + append-flags -fno-strict-aliasing + use ppc && append-flags -mno-altivec + use hardened && append-flags -fno-unit-at-a-time + use debug && append-flags -DO_DEBUG + + cd "${S}"/src + econf \ + --libdir=/usr/$(get_libdir) \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable !static shared) \ + --enable-custom-flags COFLAGS="${CFLAGS}" +} + +src_compile() { + cd "${S}"/src + emake || die "emake failed" + + if ! use minimal ; then + local jpltestconf + if use java && use test ; then + jpltestconf="--with-junit=$(java-config --classpath junit)" + fi + + cd "${S}/packages" + econf \ + --libdir=/usr/$(get_libdir) \ + --with-chr \ + --with-clib \ + --with-clpqr \ + --with-cpp \ + --with-http \ + $(use_with java jpl) \ + ${jpltestconf} \ + --with-nlp \ + $(use_with odbc) \ + --with-pldoc \ + --with-plunit \ + --with-protobufs \ + --with-R \ + --with-RDF \ + --with-semweb \ + --with-sgml \ + $(use_with ssl) \ + --with-table \ + --with-tipc \ + $(use_with X xpce) \ + $(use_with zlib) \ + COFLAGS='"${CFLAGS}"' + + emake || die "packages emake failed" + fi +} + +src_test() { + cd "${S}/src" + emake check || die "make check failed. See above for details." + + if ! use minimal ; then + cd "${S}/packages" + emake check || die "make check failed. See above for details." + fi +} + +src_install() { + emake -C src DESTDIR="${D}" install || die "install src failed" + + if ! use minimal ; then + emake -C packages DESTDIR="${D}" install || die "install packages failed" + if use doc ; then + emake -C packages DESTDIR="${D}" html-install || die "html-install failed" + fi + fi + + dodoc ReleaseNotes/relnotes-5.10 INSTALL PORTING README VERSION || die +} |