summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2014-02-17 13:16:16 +0000
committerKeri Harris <keri@gentoo.org>2014-02-17 13:16:16 +0000
commitd05ac0efc3ca0e36492bce902586994cb4129adb (patch)
treeb0118adbd3f95014add5b0e1bc8860419704cc92 /dev-lang/swi-prolog
parentVersion bump. Removed old (diff)
downloadhistorical-d05ac0efc3ca0e36492bce902586994cb4129adb.tar.gz
historical-d05ac0efc3ca0e36492bce902586994cb4129adb.tar.bz2
historical-d05ac0efc3ca0e36492bce902586994cb4129adb.zip
Remove old development versions
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA138F5ED
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/ChangeLog6
-rw-r--r--dev-lang/swi-prolog/Manifest14
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.1.4.ebuild125
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.1.5.ebuild125
4 files changed, 9 insertions, 261 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index e145f5932dec..5f46e6381a59 100644
--- a/dev-lang/swi-prolog/ChangeLog
+++ b/dev-lang/swi-prolog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.419 2014/02/14 14:10:55 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.420 2014/02/17 13:16:05 keri Exp $
+
+ 17 Feb 2014; <keri@gentoo.org> -swi-prolog-7.1.4.ebuild,
+ -swi-prolog-7.1.5.ebuild:
+ Remove old development versions
14 Feb 2014; <keri@gentoo.org> -swi-prolog-6.2.6.ebuild,
-swi-prolog-6.4.0.ebuild:
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index 529809f94f47..c5f5b17ea274 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -5,32 +5,26 @@ DIST pl-6.4.1.tar.gz 14616444 SHA256 48439529784a855ce9246419b51ebe5388acc28d148
DIST pl-6.5.3.tar.gz 14842161 SHA256 1a959724ff170a8f4d10a531d7d298187b6b9658c0c36c764d7ad1a085f9c5ee SHA512 31778c0d550a4f4a8cb46c81a31ed74ca62b6a08aa1495e81697b9d23ed3a5a4ca009d265417bf928cecba8cd9156da902a96fd20396666459bc429f327b7197 WHIRLPOOL b592372d92facbbd6a8d6df45acda44a2c5a514d799563836e645d82fa97034ac3978c6511d13d58d764b8316938a2848f1a692fa82b578ba40cc763889b51e2
DIST pl-6.6.0.tar.gz 14764935 SHA256 b85ac27a8afeb29640fe2b98c088e5f9c753adacb20114f8c10ba4835b26f9cd SHA512 8fcd30b0666b57d322789466464840817f4be602163b71ef8538c89c2fc5946e323c5f68cc421d29365f92b17d059e840c1eb7dba4fa178638986473cf9816ac WHIRLPOOL 2f8b55e190e43f5d0051c76ae8ed9be1df28372b10dd0accd0668fe08eff14874edb673251b567edbadbeddd4062bd28618078569a7b5fcf2136b9c09848656d
DIST pl-6.6.1.tar.gz 14769033 SHA256 c8bf201dc28705969e509a378661534ab4b87e1f4ab598ee01293409cc3f6b0c SHA512 c6ee8862db59337a986f97aaaffe2c72665c5e18a352d9f270af64f4c7e063616b47bb79b29319fe33fb6b0015b8dc97d49dd2b5bfa458ada877abc0bef92f7e WHIRLPOOL c450d83be2266ea6482176f249ead038027dccbfd140a7900f1bc4035580230d8b544027679e3cb3e0c0fa6fef9398f781beceffd860b94ae1ef2ea489828ddc
-DIST pl-7.1.4.tar.gz 14946912 SHA256 64de7742f2def4ff211f9d442bfc997741a27b7b26dee80d23e0ba45e438a5f0 SHA512 dbeb4968f680fd86ac22f7a028c64a613fbd0c67b32373e9c8b82642dbf370f7ffe6ddce767fba65f1cf69d743e52116d67717d7c0b65479dee47d32106d0b6d WHIRLPOOL 6fd2847f2130f8b842f5db5cab67761efea1259ad67ae8a3cc8960c50ce4628c57c141322d1389d6eaa96a6e98a4e3ba6ff04d3fdeb44978159b596053302175
-DIST pl-7.1.5.tar.gz 14991955 SHA256 47eac64360a53f799b42ab58afc5206c56ebf86e0b22af6c660793860ef5f751 SHA512 1c605bb9046ee013bce85e66b55ac2bfd38a9ca51f27fa9431396556f280ae943b5fc32e244893db7db286e6893378029cdafbc905b47e7f982e292935e1b8c3 WHIRLPOOL 797a94bdaf75181d768c45a3d5edf502afff63c2c4dbd58a06b9e48f42c10f234b1a28c41f36f950d1f25b4e5e4d8ab90e8f4da11fe465b9f761e21894fc2373
DIST pl-7.1.6.tar.gz 15524719 SHA256 53bdd37adb545ff5395114d48e5c82a9f74bd566bc5a060900951d20cbdf395a SHA512 822800b49aba62849558a304b0ec9f6ce99459661b4f15f03cb773ec57c50ebb4ad9c2d03c30ece017a300a7ed518e3691c114cc16eaf93cdfd6eebf60af8481 WHIRLPOOL 1484581157c70151993e6c5e9f6518ee85a4ea5166b6488bd8d909660a5b1d6185809c709105130e969bff3dd950be2cdc8828bdd577718d7afb5e14d8536559
DIST pl-7.1.7.tar.gz 15531561 SHA256 4e05f5451067d0e048d7e57ec3451f2902f4a98a79d1607168b442b8923308f3 SHA512 88f4e8735bd355d0b133d009cc3f8930422f8c57d4d8006d4ff118492c63adcf38a499597afa34f4fca6f4acf54704123a448da8794d9a2aa63617477ef8ee87 WHIRLPOOL ae3a292ca416c71de519fb80d91d2ad9cf80f02412e29faacbff0b7e4695ac8d45dc15e12e34a89c758424acfd2cdf16d992d5dd36b5e501611a49f0b25b69d7
DIST swi-prolog-6.4.1-gentoo-patchset-0.tar.gz 1593 SHA256 c57b19f6d6f31855db9f6c5c14edb7a20b30ed4b9cfde805bf95182c7dda6565 SHA512 7be7f1bd3a10bb6a436b3f679210aa48de5774c728a4f12de69983458200095b5fe377aa30429566ec5e91c4ea172cc3d4bdfb6486731ed47d045dfa40afacfc WHIRLPOOL e3a135438947eedb71070d3df903c65aefd94c1c1b724f94df396ed0b1e354882c83e6a938816ba64df45b639b00a8cff9c591405f44a472eea4578ab95f232d
DIST swi-prolog-6.5.3-gentoo-patchset-0.tar.gz 1602 SHA256 e8fdfa7789c037b8ef293d19cc900251dc71eca33db6add2e140f6791a6cd837 SHA512 bf59cc8488e2d46da971ea78a4ae9e383da04c6b79925d73ac5f69f3ed53beaa869d9f78a853f31768461020de1a959bb39c5b0f0a2569683cffb737f9f615de WHIRLPOOL 90bb6ccb21f7f1390b7c28493150840e8cc0fce1d3c31b5c3a56aade8b8bb828783cb5daf9677b78fb33962f478e1d24cffbee93704544dd7e087bb0d36f9784
DIST swi-prolog-6.6.0-gentoo-patchset-0.tar.gz 1588 SHA256 4931ffc29db2ac2a528bd8f7e9a94d1cc125810e85d4b0b7ed39c3b50406f967 SHA512 192c112ea965dd4625b42137d5ec5abeb71ffccea33bd814b782175f9d6d185fbcd55636a6e2300e933e1b2c5d9d156bfd5231aac5bbddbce7dc366e362436fe WHIRLPOOL 39b0063bf3e4e50d5ad80617809c5534edb27c5c900e966366fc7f058c7fcdf44e070dae10f3f8a9d5cd4cd4cb64d90ab0f40a5c6c16d95a2465d86d33185ee5
DIST swi-prolog-6.6.1-gentoo-patchset-0.tar.gz 1596 SHA256 2f716888165c6dc9e304e94fe1be4949d6da9ce0eec9e06202a6049fb178f385 SHA512 1aaceaa6bd8ca2663b22a720654ffab143d6de1b0ef51e924f55e9eb729b4d356302daa7f2fbcf36fd9cc208638dae16c2a2d2dbd9db1b56c955f5a5a6e129cd WHIRLPOOL eb0fee31b2d8c6e62fd481427dbe06947c4b1a6b39bbb5a0c705164f386ff1e849e6ae3a147bc62da2b5962ba039d29d3b56b2d6cdc8d7b63213c1dfe1a423b3
-DIST swi-prolog-7.1.4-gentoo-patchset-0.tar.gz 1604 SHA256 6ddda9b09bf39d395e7b165603cebdc13ea953986a96ec20184d3683f53d89e5 SHA512 23ded752c663136fba776151050a51a9933f737635d653319aec9f228a549121c7dca8c1bc0f7df3a9c4740e3cc70d564d583d9d162c396795ffbf5aa27640ba WHIRLPOOL 539fd1b1acbca728d8aa6311fe68d46dfffebb69447b68667121429667eee5223d2e3ad56ffdf71df5cfba2f9309b539938c28ea34f1a4e03960eb25b301bbb2
-DIST swi-prolog-7.1.5-gentoo-patchset-0.tar.gz 1595 SHA256 94331455d6dfd9889fa7adf7fa367aeb69ad87ac9ca593a105a5a38f3895b39b SHA512 4c725f7443662f61c9085a668c113419d60db82d7826172483204639d17b0c85fd3d72a03b44264f2c39ea3935ca7c280fbd41e1ed7ea1dbdee0cb0c0ec2778c WHIRLPOOL f8b78ecbfdc153d076f5e08b5a0e0a85258fce974b54f30bbe6218739b6d875c95d2287ead5b4b7e5b7b0b7e19f2cebae64b7f49fe44e4e32fdbf7b6f936ab96
DIST swi-prolog-7.1.6-gentoo-patchset-0.tar.gz 1598 SHA256 057fc49492a38ecffb920b8015cfd94ee309d278546d0d4da986ce407e74e38b SHA512 56ec6e42b7a20ae4d7852efb7927ee7aa0920e7c5c6cf03a447d727fcda52d5d06d7f985eda5f060bf810204a2b5fbc251564f2b2d2c8b8c618ff2d4eae8fc1e WHIRLPOOL a0955539447352be6e77d4aa4e65da653188d11c97fc885716ba463574a6e1b0b9615c9aecbb986abd146f1d9fa9ea296b240eb28f5233a7fd07645ad0ee95fa
DIST swi-prolog-7.1.7-gentoo-patchset-0.tar.gz 1591 SHA256 e4d1c40f4ff2d58c1fd9835d3b9aa1b7167b5bc679a6fc22ca88f7d03b706e51 SHA512 53cfa3f541699f64f570d3196f30e907599e782955b33beb0f68d64bf3a686bb2f37710ea355f618facf93e70bfb690b50c46adc979b5a144f497db0ca9d3bb6 WHIRLPOOL 96d5612a73191507900c72e06d85d7cd0c1d04310e277197a1b7533e173708041c59f3310282c52269e9560370b8bdded4f728bb54f6c3ffd62f50470ff09cb4
EBUILD swi-prolog-6.4.1.ebuild 2860 SHA256 f1c226d16415aaec7b93bbae9ed6c0d5d4d2e28b071f00eb071599fe4bab81f0 SHA512 a2612c8197e4ff26b8bbfb1ce97260666c08a3275aec517ada4d48f4700b9df6cfa3f398c427fd31324d9d06dc3b363d90cb4acb9978ee926dba75834798a1ac WHIRLPOOL c79df86d0a15bc9f7a4e4249f32fca98ef8a5d3c0c0abe84354ba515f078f8f19f599ca97399286b84514a3ce7c6c768b6ed8063b5cb9338ff6215afcfe80b95
EBUILD swi-prolog-6.5.3.ebuild 2863 SHA256 95fc3c75c419f2f9e4616265770677d6de3cabc239a3f525c21b530a4833cac3 SHA512 211bdc39a78d2a3db654afe52144b2864927a89da4fec81932ee5bf89684237d541b27bf68fd5e03da18f788927c705037617536d9d0999a8edbf813cc372f4b WHIRLPOOL 6b0006684f28c2136175197a0151d387794119053bae56d484ccbcdc1d85fd6b7af3c1d824d72def5685d2efedea832f8dbe731f0e48fafd95cf483bbb1905a2
EBUILD swi-prolog-6.6.0.ebuild 2864 SHA256 f18d939a869f21a2f226434a51a9de4f23fb9231bd2c61385de536e0af589796 SHA512 c27951dffb9082490671b42138abc25389b44fc93e11baf2b9a7ebd39fc2d43c7fb96edf0d10f21f9ec4156725270b161a04fbb5c3dd7d7c18b67424d143f7c5 WHIRLPOOL 92e6db3cd04f76131f5232cb88d0d4249b30f5febc7c4dcd8564d29f834e1fd68c3f4f1885da4971846a707a5b7bdf1dbee6ef58b3b52902eda16cec80f0d7d9
EBUILD swi-prolog-6.6.1.ebuild 2906 SHA256 63d81a0a255212dfc7e2fe158a4479d642ffd283d2a1e1defb99fbf808b3496f SHA512 8509f0ef1ea1bdec03359e7c103b3aee9f7d7974cda19fa5a2188302809dd0d4341e8692518d62bd1c7ba4cd627e5c723ab9595aa3aba59e64c6232822bac8bb WHIRLPOOL 742aae2b71ddd2b9e78263720c3ea12e7180201bcd5be96ddec9c8cff5af15ca65b7fe0c1ff536361aef655761c6a187df87dcba270821859347fb8c1b4e1661
-EBUILD swi-prolog-7.1.4.ebuild 2905 SHA256 2d1ca4d916f1c20b187f780aa683c2480891ad49e63240494025a10c9127ddc3 SHA512 1768f94da8158b5ef5d0d79e99ba822ea0a573523877ec7a545bb0a7fa9fed4fed0f576427d7f2229c9040e65b5dcbe4c0a3abb85dfc5c98253ee95c7eff4a79 WHIRLPOOL c2f2f7c1de4833fb29f665b208567e16416d86637881894c9c53d29af421592eec38598f7e6e4493eb0d96edd5290d92cf996f2d1a6ebb93a6ba5ee0caa3d5ee
-EBUILD swi-prolog-7.1.5.ebuild 2905 SHA256 73d19073e581bbcb38da28e1fb5a55ae4dc06679dce00a4233a57d7fa15d81a9 SHA512 0324c3ca1667af92b5f0506b78a935cad4ab3cb99cbd9caf56e8a603a65f2106f1be74972da270069e2cea998eebc5068cffe42f56dc9782a6d4ea582bcb9cd7 WHIRLPOOL 134abbfac893851d59a770446ca607ec0561d28d912a162c8f5405cd9f5da954546da10f75e33250de377b44fcbc231ee126828e04fe87963f58747f404a05c0
EBUILD swi-prolog-7.1.6.ebuild 2905 SHA256 abb69caef46160482e828826b5c57d16461a58e54fa55a4cd0e640b598793171 SHA512 e5f78185aab8c6252d4d51126fc93201a6d5e0c3fb0d303eb8caff649c08ec65dbcd78faf824b116f9e48666804360377284cdb6627dc44266b12d135e2e62c4 WHIRLPOOL 7f8bb34461f3d30a5f16b12670c02d45a2bb805604a28ad9100f91f8ea892e8bcdd3e7718e5033b99c047d6f537e0575527450d225ad1a9938179e7e1b1fddba
EBUILD swi-prolog-7.1.7.ebuild 2905 SHA256 8aa1952420cb6fa33836f3dcb44a56b07c8c7ca951b1977a54fba4a1c2c5b68c SHA512 d7033a907e55161e816a13435ecc473402fc7f596a089f8e0090e37d67a8582adbf82373d0679584257794d48ff70748dedfb8f048d720db80e17d7b0a4c7e33 WHIRLPOOL 2647be3e3efd90269784555816c6d0dd1c363f88696b7022589d7b9924c7d57d68b658b77f4ce0ac6883d171662bcc316282c9193e13c85750fe17bd0b70c715
-MISC ChangeLog 62018 SHA256 9e5a33a7a7b519dd81d2745fa38f9a3500b3e6e076a5260685560943fdb5eb83 SHA512 5f48537b347caa38f17c507a4b6d064adfd080975b9ba1622310b562156f938c478658f05b4ee33ff06507169afead871ce5823b36b679a3dd827db2b26bb0b5 WHIRLPOOL 23ffae7f18feca6c4d35bac9e8c221401ebe3b1f17f7303de6c76b134359a2e01adaa2040cd8ed44a508cffd545f77ea3cf6ad58eb3bcc6e758b8cf0aeec3a84
+MISC ChangeLog 62140 SHA256 ee3bbce9e259d8dd3ad462efaad72ed75120b3352aa48732dc304218dd0e79aa SHA512 47385b7d1e4e750e5ef4cd771f23866e154dac0f111a6921f628bd71a5837cbfae3fb9005a80ab91480220a95c11aab8e81174407869c71d31b210df5dd56c7b WHIRLPOOL 74df6a18757c33ecf0c38226e79eee1b14c5024ac9ed84811df669d0f33af91a1e0454d6194392b264923603a67a3bec98bfed3443a241ae27fc05f8a2699389
MISC metadata.xml 236 SHA256 cfc0f56c64161129f17e853433bcc92a212ae64ffe70f627ae6e24fd8cc3520a SHA512 c542f8fdc8c524ba187f02788407dd31a87a37255166c6ef184409e1469288736420df4dd39f42bf57bf367532ba9607484a6228790f5e71c1ca7bfb56525194 WHIRLPOOL 472c63b815161c5e04903d12cc2b5f8d7edf56ebdbd5407581534f728b95dc063cdcf227579f75c7ff819d29bb2ba02ee3b79480f46d60aa4de17199163e1242
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlL+I3oACgkQrwS/tqE49e2F3wCghPGDZedTz4d4stUaWW7bjl/3
-qZEAnRs04ZUsdewJs0oOpbCeYKpjjlCq
-=4LvW
+iEYEAREIAAYFAlMCCx4ACgkQrwS/tqE49e0NBACgjyr0wW3NPJkwnMA7jy48RX8g
+dy4An3HsFsd4+YH5hwRT9ZLat5No9xjj
+=NX4B
-----END PGP SIGNATURE-----
diff --git a/dev-lang/swi-prolog/swi-prolog-7.1.4.ebuild b/dev-lang/swi-prolog/swi-prolog-7.1.4.ebuild
deleted file mode 100644
index 74adb27d6da9..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-7.1.4.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-7.1.4.ebuild,v 1.1 2013/12/20 11:01:13 keri Exp $
-
-EAPI=4
-
-inherit eutils flag-o-matic java-pkg-opt-2 multilib
-
-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="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
-
-RDEPEND="sys-libs/ncurses
- archive? ( app-arch/libarchive )
- 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}
-
- # OSX/Intel ld doesn't like an archive without table of contents
- sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
-}
-
-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
-
- # ARCH is used in the configure script to figure out host and target
- # specific stuff
- export ARCH=${CHOST}
-
- export CC_FOR_BUILD=$(tc-getBUILD_CC)
-
- cd "${S}"/src || die
- econf \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable static-libs static) \
- --enable-shared \
- --enable-custom-flags COFLAGS="${CFLAGS}"
-
- if ! use minimal ; then
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages" || die
- econf \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- $(use_with archive) \
- $(use_with java jpl) \
- ${jpltestconf} \
- $(use_with odbc) \
- $(use_with ssl) \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"'
- fi
-}
-
-src_compile() {
- cd "${S}"/src || die
- emake
-
- if ! use minimal ; then
- cd "${S}/packages" || die
- emake
- fi
-}
-
-src_test() {
- cd "${S}/src" || die
- emake check
-
- if ! use minimal ; then
- cd "${S}/packages" || die
- emake check
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install
- fi
- fi
-
- dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
-}
diff --git a/dev-lang/swi-prolog/swi-prolog-7.1.5.ebuild b/dev-lang/swi-prolog/swi-prolog-7.1.5.ebuild
deleted file mode 100644
index fe1ad1f82bf5..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-7.1.5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-7.1.5.ebuild,v 1.1 2014/01/27 11:45:19 keri Exp $
-
-EAPI=4
-
-inherit eutils flag-o-matic java-pkg-opt-2 multilib
-
-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="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
-
-RDEPEND="sys-libs/ncurses
- archive? ( app-arch/libarchive )
- 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}
-
- # OSX/Intel ld doesn't like an archive without table of contents
- sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
-}
-
-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
-
- # ARCH is used in the configure script to figure out host and target
- # specific stuff
- export ARCH=${CHOST}
-
- export CC_FOR_BUILD=$(tc-getBUILD_CC)
-
- cd "${S}"/src || die
- econf \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- $(use_enable gmp) \
- $(use_enable readline) \
- $(use_enable static-libs static) \
- --enable-shared \
- --enable-custom-flags COFLAGS="${CFLAGS}"
-
- if ! use minimal ; then
- local jpltestconf
- if use java && use test ; then
- jpltestconf="--with-junit=$(java-config --classpath junit)"
- fi
-
- cd "${S}/packages" || die
- econf \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- $(use_with archive) \
- $(use_with java jpl) \
- ${jpltestconf} \
- $(use_with odbc) \
- $(use_with ssl) \
- $(use_with X xpce) \
- $(use_with zlib) \
- COFLAGS='"${CFLAGS}"'
- fi
-}
-
-src_compile() {
- cd "${S}"/src || die
- emake
-
- if ! use minimal ; then
- cd "${S}/packages" || die
- emake
- fi
-}
-
-src_test() {
- cd "${S}/src" || die
- emake check
-
- if ! use minimal ; then
- cd "${S}/packages" || die
- emake check
- fi
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" install
-
- if ! use minimal ; then
- emake -C packages DESTDIR="${D}" install
- if use doc ; then
- emake -C packages DESTDIR="${D}" html-install
- fi
- fi
-
- dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
-}