summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2014-05-15 10:46:42 +0000
committerKeri Harris <keri@gentoo.org>2014-05-15 10:46:42 +0000
commit1af34655e08914fe985cb3ce81cdba3b1610b695 (patch)
treea67fdef7223dd17df65e7a8e44e340aa3d9d332e /dev-lang
parentStable for amd64 wrt bug #505100 (diff)
downloadhistorical-1af34655e08914fe985cb3ce81cdba3b1610b695.tar.gz
historical-1af34655e08914fe985cb3ce81cdba3b1610b695.tar.bz2
historical-1af34655e08914fe985cb3ce81cdba3b1610b695.zip
Remove old development versions
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA138F5ED
Diffstat (limited to 'dev-lang')
-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.11.ebuild125
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.1.12.ebuild125
4 files changed, 9 insertions, 261 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index 2a1c0454f2cc..8887ce88466a 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.435 2014/05/13 14:32:46 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.436 2014/05/15 10:46:31 keri Exp $
+
+ 15 May 2014; <keri@gentoo.org> -swi-prolog-7.1.11.ebuild,
+ -swi-prolog-7.1.12.ebuild:
+ Remove old development versions
*swi-prolog-7.1.14 (13 May 2014)
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index 87b0dde3a4b0..35362676cdc1 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -7,8 +7,6 @@ DIST pl-6.6.2.tar.gz 14823664 SHA256 e4996e363a19353f8b4eb1c19284fa73612b0137b32
DIST pl-6.6.3.tar.gz 14826153 SHA256 e35b741ab26c98e502d5e3abba5fff35bb2dd70ac7735379df5dd47c9a31b905 SHA512 5d8d864fb04a3c5c1caef1241e97279bab6923c6a39d8ff536535417d64c3381663019a35d1a30f6288b888b7996a38557ec986c973b8c1d211bef71e0fa0e58 WHIRLPOOL f37d24532a4204a8183e05c4c01c27bdd9470dfc233fca211363989fdd5e03f428ab42d8ff5f2e6268b8e3ec6af76f314e27727271036f312802237a29aca82b
DIST pl-6.6.4.tar.gz 14830255 SHA256 663977959979e389df0f87c2eb426ab71105c12206605ec40925893b91733cef SHA512 fea012ce97b62940618ce2e137fbeed39c7698544ece22da8c4d13f98d9cf809d990f912e406a939868471ef5517552a2ccf842be4b7e849aeaa6c1d38331b4a WHIRLPOOL 10e4243fa473c168a50268e7d2240976626cf20ae1440e94c496a6d93a1d1c5631ac7523695174baa8423396d4af57d84c6f0be59775cf7bff0aebf7be135d5d
DIST pl-6.6.5.tar.gz 14837423 SHA256 79ee4526ce8a70d55cfeecbb1acfd737db0ddbe45585faba41a24ddb34484a53 SHA512 8bdf7678c51192185bbd20f008212de7401ca2f497fea02e7b652aa51fca0c1e961fa10efcd256325a6fb0b7ea956b26c8d8def2f11b2f45551f3a82591d6c7c WHIRLPOOL f7bc7236801a6c13402426f95e971d2de41b98dd596e2f13344f4ad56619a81ef587fe626ae1c797255739511d09fad49d21787df9fbefa034278c3a1824f949
-DIST pl-7.1.11.tar.gz 15694089 SHA256 87848bb775943f2418eeb56fa970dd4b0f1b79c16f3eb5090bfcdbcc89de66df SHA512 98d1ec542e90c90b1988ef2135a3ee7a44494183d2ac917a578dabad5e09eb813c09bf19c09be30f8ad3d16e81240f90714cc9c854cf41d9351cc6dc9d0aec97 WHIRLPOOL 7169dd6f026f0aecf20030ebb7b64506a30c23422b453b05a63dc846cd3d5978b566d74c4cb8178973c04e947f2a0bbb639fa097784dda542ada3bfcd640bc97
-DIST pl-7.1.12.tar.gz 15695341 SHA256 6945911c86c1b10e1ed07fab0ed928dd1b0ae368e30b454e2a8dfa4885950102 SHA512 08ce1941a68cf1b787136115eb1aadc4d44443bcd5ba207b6c23562412a270ea96c0c793e42421ec97bb41ba9ae106c9c2b9f0d95f0cfabe5ca9cafeb931acc9 WHIRLPOOL eeb5eb2f8724dc0b3e0ceb8b9393c438b7d01fa8e008de17ed4bc731543d0a63c990ca345dcbf7934c174d6769108a205686a6159298bd8300e9ef0791b303c9
DIST pl-7.1.13.tar.gz 15698076 SHA256 4048733e0278c2957d45773c7032cd0e02afb77cb2d45ebff698370f706c9fe9 SHA512 9b7580914beb7cfdcdecaff3f09d26361a4e8c646611819b6721655b58347fce2fac0b89c1774471a79325b33928e5f856add5119f73c07ea3d9667689425971 WHIRLPOOL 328873b5f5cac069ad9f4ff04862b4893663610f44c5296354d57d5da58ebc1a196baf4708ce1bf4874cf90fad8de8637e8b6ab836b5b49bcac74d0c540a264a
DIST pl-7.1.14.tar.gz 15695222 SHA256 c2be221cdbb9d4743ac561fd7c0c738545d25de0c47bf6e9557bf323882e5a6f SHA512 b7e6b79b1c63f71e17cf58735c759a0d9389b80aa2a647d71c086805dcf094fd7b8be821990b69de418aac1882ec0eaa2026f3490d201fd467ccaef310a079f4 WHIRLPOOL 37a3e16e94767d0da819dc7b40e0c9835ca04d558a88a4249bddd3b9e0af641d13959a8af7da4da955896d519afa28f8e6a2eae10fabc70af577fc7f90bf7d8f
DIST swi-prolog-6.4.1-gentoo-patchset-0.tar.gz 1593 SHA256 c57b19f6d6f31855db9f6c5c14edb7a20b30ed4b9cfde805bf95182c7dda6565 SHA512 7be7f1bd3a10bb6a436b3f679210aa48de5774c728a4f12de69983458200095b5fe377aa30429566ec5e91c4ea172cc3d4bdfb6486731ed47d045dfa40afacfc WHIRLPOOL e3a135438947eedb71070d3df903c65aefd94c1c1b724f94df396ed0b1e354882c83e6a938816ba64df45b639b00a8cff9c591405f44a472eea4578ab95f232d
@@ -17,8 +15,6 @@ DIST swi-prolog-6.6.2-gentoo-patchset-1.tar.gz 1851 SHA256 23d7481204d2e1f064c7f
DIST swi-prolog-6.6.3-gentoo-patchset-0.tar.gz 1608 SHA256 8f7e49dfe527a28aa0da1c756841f1bfdeb354b4a7332ddef9664e5dda4d6592 SHA512 5b000f25d3fc5b921fbf1e01d746fd28ba6aa4ac98419aab7ec43c34c30d2078ae2844d87ceefe493ffb6f09796615eb698f71b213bca13d5be8c32ba57bef02 WHIRLPOOL 0488fae4ffc42dec825e79d97260b2911ab7f45145a3216edcef6bd1aedaf969806955eed185fa6a4ff141896bb1b0ca1ca51b381a89d8f5bf1b2509f475458c
DIST swi-prolog-6.6.4-gentoo-patchset-0.tar.gz 1596 SHA256 727a9ed67cdd8a23bc5d0bd5b2463353071370e58667a73c4ae403ef8a94671f SHA512 98d42047ec54155f7d34928bce3050edd65259b552ea82b763f15391f0283f5229a9a513e5f31c441294c5a7f2f2c4e6f133ff031eccfeaaf7c1037665240be9 WHIRLPOOL 3b4c0b6888e450176483bb5371c5f023864390852b9cf0d6f12b356a8460189e5e6cb85399b378c4b6bda314ce690e9a7ede1f79c74d78f033d7caff3a2fc408
DIST swi-prolog-6.6.5-gentoo-patchset-0.tar.gz 1595 SHA256 baf043ea3a145d8600ecb9c16722e8578b818b3018d50345e951084a26b018e9 SHA512 62f7a73af4d34b8a13378fb65302b01d2445b3e4f7198e293c4fd9b50948feaf632bd5de0af10aaf2cab9d5fcc214fe04d86e6e969e60b23d9bae4a277214041 WHIRLPOOL 95c6449b2248a0277af1cad70ebc16b46fd6b15d540822f1f9e5370760de94171bcdbb98df9915ce85e2ddda55eaf457eacb26b29f3ed4f61b1f69388454b0a5
-DIST swi-prolog-7.1.11-gentoo-patchset-0.tar.gz 1603 SHA256 0a39b5fb7b36d00a85bc50ea102380a729dc1a4378193ce614da10a6645b753c SHA512 2e8af66d9671762d4c7d5d7a873cde722e6d2eb6bb9c2c37de835e11daaa613c9aade9961d47d987c866d62417d335e2eeffb74a6510029eeedfa6eb590d4868 WHIRLPOOL 9eeccc290b695ab81a1de58e42768f6bb3b65078fd1b83ac0ece91f5696fd7bee20e8878a476b06bd80f860769ce229332ea87df84e62802c8f9b16c856f85d9
-DIST swi-prolog-7.1.12-gentoo-patchset-0.tar.gz 1602 SHA256 1f5ebb767af5059431fae8f5326aa8374075945a9077f4ed83357ed6b917ba8e SHA512 855dd48783d6d6ecd035b22fb020ca2680ea77f32b53d57a2d9c138fc88e008b83047eb9ac792e69d59dc00f4d5be03c718a9d6889ea086cf02735e5db717aa5 WHIRLPOOL 7e28128ff657e7b351685e6faee6b6c48b0e86292ff6449ac24369a1b437ee56aedac8c060d394b61b11f9b560685df3ff5af302ca01070c87727d346e4144e0
DIST swi-prolog-7.1.13-gentoo-patchset-0.tar.gz 1602 SHA256 89a31a33aab3009e8ce47554657f1182c24d36cbc3b2823c44928f424ba2ca0f SHA512 bc9be6f3e516de5f7d8fdcd8bc1dad9b9615677d7125aa65a199c9ca7362388de31f5537831497866891fa743084629ca9f1195baac28e5eeea440b910fe8c7a WHIRLPOOL 263037a6f11e457c2c8da70c9d3c0f2d6bafd546a9dc38a04818544f4e85eeef1887b6466ed92ab9f0486e91635f960007f60c53430d961cc6dc1d07459f2cb9
DIST swi-prolog-7.1.14-gentoo-patchset-0.tar.gz 1614 SHA256 fd16fa16ddba0869a31dbe3b2a2402a2cfb8b18a64c21c2572b3f32247d4c2cf SHA512 8f6432c36eabc473bf9114ead8230e0d03bb379f7e404f1ed491fe10359b3785d6aeb3433e089b25b92ca8f332c2f1197272269ecb9a05280694a9f58e72c160 WHIRLPOOL abfb727c7c3edb549e5acd7aa2066cafec746b7f21ca3a60d0736c5eeee383bb79166b35b37eb4fc2721c0a3407bf06a3380fea0fceeb37525fd80b536475678
EBUILD swi-prolog-6.4.1.ebuild 2860 SHA256 f1c226d16415aaec7b93bbae9ed6c0d5d4d2e28b071f00eb071599fe4bab81f0 SHA512 a2612c8197e4ff26b8bbfb1ce97260666c08a3275aec517ada4d48f4700b9df6cfa3f398c427fd31324d9d06dc3b363d90cb4acb9978ee926dba75834798a1ac WHIRLPOOL c79df86d0a15bc9f7a4e4249f32fca98ef8a5d3c0c0abe84354ba515f078f8f19f599ca97399286b84514a3ce7c6c768b6ed8063b5cb9338ff6215afcfe80b95
@@ -27,16 +23,14 @@ EBUILD swi-prolog-6.6.2.ebuild 2906 SHA256 ae51c76da64f223d9da57936e8bc19408d656
EBUILD swi-prolog-6.6.3.ebuild 2906 SHA256 a268d3e08c2daa9c3adadb70c9dbabd3e23028222c24d5b2adeebcf1e34cb81b SHA512 b1f1895add9b0bd915e9a77eeffe06e948dc59c0b1594c19637ae0d817aa9a87e9fc26c2341b6cf8506e655d11a304ff8cf0c1540cb05849378d6efaf5c2a060 WHIRLPOOL 760119157431f217895e4f9c96077e4cbc916189d405883f1a99f28b4532b7634283d1298710baa01884b8e25d2e806573bd1e92bd83629038c21e8416675614
EBUILD swi-prolog-6.6.4.ebuild 2906 SHA256 98d5221f22f0a7747d36bb7b2d57140c92e422b7f176c542ebaf87e525fb4d34 SHA512 c3da1a8b84748ebd78dd8f6377af17c29a339e1d0a30101457629216055205ebbddb5182e79d50a1dfddff03bc45960be23f2dca8f6ac0977085138f1b7a1fc7 WHIRLPOOL ad7fff72bfe14fa1b3629c37f2d54295b4702b1c9389cc9018e1185ddb550ad864640c7567a83490db2abdbcf560ef596259d1f2749a140f7dc9be95f6271266
EBUILD swi-prolog-6.6.5.ebuild 2906 SHA256 fecefea51c16786882b7ee765adc29c858e85e0b94c94c95e3b5140f5092fd0e SHA512 2303eb774dd0cfee6e60490bfa4c3df59930ec6b7bca9b026d204241b7c9d2c9e51dcc42dbb3cc0967058e1b93c616e9190f177678249dfdd41106163f587915 WHIRLPOOL 362ba4675479f0ff0025a24418019eba29c8943bfdb152211637b3fc0ee53b91dd1bcf87c8ea1f8766b11289e813a3cd20b89c1eab602c8883df98bf0acd5d91
-EBUILD swi-prolog-7.1.11.ebuild 2906 SHA256 9d472fd4fe0fc7f6f0504b2842bd6dad988b0ab45100eac76b3e8c7bc14dc98f SHA512 9d812e95e87c545254dc38a28df7b69378c14553c429f21ae52dcfb12d3dca528827011af6d776adb7e2a800c8bd49b330fe1e7603150139da5767b02d01c8b8 WHIRLPOOL 5cb41cbea73b1ae9e81a5d7eaf1f8adf6ebfbfd8daf749e24b5398717e4a7162843eb5175788c0bcffad04341a8492d5cd5b198a86f7f92d4a066e0669232f49
-EBUILD swi-prolog-7.1.12.ebuild 2906 SHA256 53c3cd435285a4c3607f951148d4c559ff19d2e06755573e1034fd3775893149 SHA512 f2ebcc7f16d2ad838d49ea497f61a0e711b9465566cd8cc491bde5336bb77e1e546257577f504cb71f34139de8d6ec2493d4f36c8f52211b8fa94d4c531b7267 WHIRLPOOL fc6a7bfa21a17f40ee9db7051273ad4aa3420f6df9cb53e4799fb2d9c44732fbb1b29dc5e4ba4e189187644ea236d0d2da8b0b9f855481e89f657a1731136acb
EBUILD swi-prolog-7.1.13.ebuild 2906 SHA256 c5bfdaa789f6a64b8e59976100f3583b99469225296c255e675ba6136bc0147a SHA512 5ce00b14ee17af34a77901a052117e2b6e0fdaf376cbc96c4b41b929fd72efdcacbb11973bfc7156eb483718ddb0bb5084f32191818cdeb3ea32991c5633140c WHIRLPOOL 0437a90b5321c0b25540edecc0e4a5deb66ddb0a4d3f10fc3b780cab4cbb3ce6e10383d7ee7cacdf51bba6cdc7b76f262e9c71d1fe3f07c9bbb8229ac376a1f4
EBUILD swi-prolog-7.1.14.ebuild 2906 SHA256 1ae549db8d08ef9e00c69f64c9c35189b78adf129563672ca9d266c98af6da62 SHA512 0d9c027db6e07ab922e291a08ea69c376903370411efb8cd6a370b62efe3f520103514984c84155c1cc79ebfa5ed034502681058d001e875348ca7efc9617935 WHIRLPOOL f59e59fd8ee754870b557168d8592d6b0c48b28e87054143cf17111185b7031479e29bae6e67436104ca4a5646a100d7b7e62bca64cbb7956c006b70f5f95ac2
-MISC ChangeLog 63968 SHA256 ce3146bb681b1a510275c22138b0174feba78f5c0188248079a9765f95523a4a SHA512 0461b97662eadbefaaeeb8e95cd625e8a72ccc3424e990e0cd1aaf97be7b6d52611d3e20db6c26c51608f861be484f56dc76a5fb812353c93790872f6e140e8d WHIRLPOOL c6cbbba88da1871c86f586e022339d7ed44082fd5ed4d3d5a42baf52d6cabf210e7e2a36084b956ece90099276f120b5118581fa384b3d42bde9a4f3ea7ce4ae
+MISC ChangeLog 64092 SHA256 31575c6c65f3bef96b68477112ca5b93e6a3c7db1fd32e6aec12606bb99ff81a SHA512 64fcce015b85a4729e15cae75e3a13ce8babe45d4a7cf27cda6bad6b7be6c3abd3828f5bae5233cd2873d5a38aa016245879995f686670ccd335450a23b9c6f5 WHIRLPOOL 6e6e15c6ba57d082533324d578e9d4721f01ab9409e767ad9e304de8e5040df7a05f3e0c708011a3166a904ad81a4d0cbfe5dedac7289a6c4d14277cf1077d4e
MISC metadata.xml 236 SHA256 cfc0f56c64161129f17e853433bcc92a212ae64ffe70f627ae6e24fd8cc3520a SHA512 c542f8fdc8c524ba187f02788407dd31a87a37255166c6ef184409e1469288736420df4dd39f42bf57bf367532ba9607484a6228790f5e71c1ca7bfb56525194 WHIRLPOOL 472c63b815161c5e04903d12cc2b5f8d7edf56ebdbd5407581534f728b95dc063cdcf227579f75c7ff819d29bb2ba02ee3b79480f46d60aa4de17199163e1242
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlNyLPYACgkQrwS/tqE49e30vACfc0HO/NFL1OoHjjdbppp9Ow8v
-R+AAn0358htOZLDrbtIjWorrcNpB7w5f
-=cuC4
+iEYEAREIAAYFAlN0mwwACgkQrwS/tqE49e0D7QCfaYezMUcbjy7e65p1Zh/5kovd
+0x0AnAqhMW80BuQRb+2Cjc4zHizdZpBa
+=n6Rb
-----END PGP SIGNATURE-----
diff --git a/dev-lang/swi-prolog/swi-prolog-7.1.11.ebuild b/dev-lang/swi-prolog/swi-prolog-7.1.11.ebuild
deleted file mode 100644
index 1e98b3aa71c7..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-7.1.11.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.11.ebuild,v 1.1 2014/04/08 16:23:07 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.12.ebuild b/dev-lang/swi-prolog/swi-prolog-7.1.12.ebuild
deleted file mode 100644
index 3a3640c20148..000000000000
--- a/dev-lang/swi-prolog/swi-prolog-7.1.12.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.12.ebuild,v 1.1 2014/04/17 14:13:18 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
-}