summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-07-29 10:12:14 +0000
committerKeri Harris <keri@gentoo.org>2006-07-29 10:12:14 +0000
commit9714bfb3235be87632abc4572a558f89cd23bf78 (patch)
tree9ecbfa230dfa8f27c7eadaab3706e2f34036c489 /dev-lang/swi-prolog
parentVersion bump, bug 141842. (diff)
downloadhistorical-9714bfb3235be87632abc4572a558f89cd23bf78.tar.gz
historical-9714bfb3235be87632abc4572a558f89cd23bf78.tar.bz2
historical-9714bfb3235be87632abc4572a558f89cd23bf78.zip
Version bump.
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/ChangeLog8
-rw-r--r--dev-lang/swi-prolog/Manifest20
-rw-r--r--dev-lang/swi-prolog/files/digest-swi-prolog-5.6.173
-rw-r--r--dev-lang/swi-prolog/files/swi-prolog-test_date.patch141
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.6.17.ebuild141
5 files changed, 308 insertions, 5 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index 1406e9f215f9..2c04f95e47e7 100644
--- a/dev-lang/swi-prolog/ChangeLog
+++ b/dev-lang/swi-prolog/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.20 2006/07/08 05:21:24 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.21 2006/07/29 10:12:13 keri Exp $
+
+*swi-prolog-5.6.17 (29 Jul 2006)
+
+ 29 Jul 2006; Keri Harris <keri@gentoo.org>
+ +files/swi-prolog-test_date.patch, +swi-prolog-5.6.17.ebuild:
+ Version bump.
08 Jul 2006; Keri Harris <keri@gentoo.org>
files/swi-prolog-packages-portage.patch:
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index a879f4d40e59..814d107769a2 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -38,6 +38,10 @@ AUX swi-prolog-test.patch 549 RMD160 c9e997ed980a1821a5113b8f42ee21444da91096 SH
MD5 7ab7ba6c84ff9a85c66105fdcb3434b9 files/swi-prolog-test.patch 549
RMD160 c9e997ed980a1821a5113b8f42ee21444da91096 files/swi-prolog-test.patch 549
SHA256 81fc9a77480226ad519a7020d3c97fb59be6e9bba8e3d8b3b22553c5c6fc7e30 files/swi-prolog-test.patch 549
+AUX swi-prolog-test_date.patch 4324 RMD160 998a7451af5f0de4a73f7f6497ffa57c012f3ee6 SHA1 a3cc522020773ce48aabf27f512d279aa1795548 SHA256 0998d9f89e0b84e53efb16a70fdc8c4a7f2ac0f700e9f8502fb53c1d8dd89388
+MD5 aaac0d487788ab74f26c127a713923a0 files/swi-prolog-test_date.patch 4324
+RMD160 998a7451af5f0de4a73f7f6497ffa57c012f3ee6 files/swi-prolog-test_date.patch 4324
+SHA256 0998d9f89e0b84e53efb16a70fdc8c4a7f2ac0f700e9f8502fb53c1d8dd89388 files/swi-prolog-test_date.patch 4324
DIST pl-5.6.10.tar.gz 9375324 RMD160 d9b90313bb22df03f521eaa760808be30f06917b SHA1 ecd5121c7cd43adb6c5b3579fc1e02dc1182bb34 SHA256 997f6e38a595cccd2fb45227be42784c86c93ace0a59369bcddeb4d8f86c6be6
DIST pl-5.6.11.tar.gz 10323289 RMD160 bbfbc483c8a9acfbf26a86c103a1c74fb3f7d49e SHA1 3fed54566f285f470048139acac053e11c62b442 SHA256 9378f3f7186874854b534e0bceddd45fa6db1a4f6833b5caf601210dd3eef94f
DIST pl-5.6.12.tar.gz 10320538 RMD160 ea023f5603453fa10b8b332844023957272fab54 SHA1 198c14553ae9602213289fb43e532c30ea8cab1c SHA256 f80478a6f265ead533bcd046bfb3ba17206c946b0453daa6de8d8d4b9b8e2618
@@ -45,6 +49,7 @@ DIST pl-5.6.13.tar.gz 10626601 RMD160 970d89103e97c520f8ab5d1011e55eb36148e757 S
DIST pl-5.6.14.tar.gz 10627249 RMD160 ff2ee973e84b78bb1114655592cb8ce6dc1cdad8 SHA1 da93d663310fb6fabafe984eb52ab9752897b7ce SHA256 4a55a8a5f006e59bbbb144861c099acf1e024b1cb41753aed9cff9966337e819
DIST pl-5.6.15.tar.gz 10635137 RMD160 ef7e0b366838df357fc7facee9d693bbb3e2b28f SHA1 2dfe399db4526a3a2d5a35aa28947115a488b72c SHA256 43501f0119aed39df7c334f74fa1a4da3580044058617d2d5c77602727f94bf7
DIST pl-5.6.16.tar.gz 10641071 RMD160 bda873dbefdb3a4643d9d676f782049035f94356 SHA1 b39d24489038291238a14285f9b7acaa4a26cfec SHA256 c834fec5bda820096fa8acfc1585dd43eaa520ce7ef0b7d40370d89f4f0e7d57
+DIST pl-5.6.17.tar.gz 10652203 RMD160 7f6786013b43c2e00b8e4a3799cbad1f7cac2fab SHA1 e46e98b3ec8a69de3dc2eb147a9df9cbd1a17399 SHA256 4768761ec4ad4c7160373950bc21d6124c3641dfff9dbe5db4dd7c48433e0072
DIST pl-5.6.8.tar.gz 9157044 RMD160 449a866a9fadf13c068393f8a4f76862ecbd2207 SHA1 56de45066ba1680ebf6a74d3b7be6ab8cd23293a SHA256 4ccfd6ed684f56750c089a8103e2d640c6591873e3f36b47a2e2d39958cccdf3
DIST pl-5.6.9.tar.gz 9317191 RMD160 18c3d129b87ee539b270c5ab5e679fde31d054ea SHA1 50c11485d2604a1187e87545c2afc850e599c7fa SHA256 0ad101b63d7e922d1c71cf9e4a09dccccd4d7c5d63dd6ac6550e3e43c789f9ba
EBUILD swi-prolog-5.6.10.ebuild 3541 RMD160 da78b4ce35030f2c6baec7b87497cf3144775ded SHA1 33e54e717e3136d535924ddcdf241b079296f61c SHA256 5370a385d20351cc5dec4d2aca9814adf2b777453bda7bd4bfafff20e932988e
@@ -75,6 +80,10 @@ EBUILD swi-prolog-5.6.16.ebuild 3556 RMD160 d8319e0a5c5ff16d3c144458632725d8dcab
MD5 953902b4a187a0a1a779cc93079c85c4 swi-prolog-5.6.16.ebuild 3556
RMD160 d8319e0a5c5ff16d3c144458632725d8dcaba957 swi-prolog-5.6.16.ebuild 3556
SHA256 1f0f4605e2204e1212aecbdd188a2b492973faa3f59c1771d258e425bbf08f3c swi-prolog-5.6.16.ebuild 3556
+EBUILD swi-prolog-5.6.17.ebuild 3605 RMD160 449589de627d7b5e4c53f24645c76c9bf57fcb5c SHA1 173f1bc6803152b969aac2385b09ac28dd12a22e SHA256 4ace55c6904347e78262164de7ac73516a700fb09cbdb7821f4eb1e4eeaf8af3
+MD5 a9e1fe301b5159a9f375427596f9091b swi-prolog-5.6.17.ebuild 3605
+RMD160 449589de627d7b5e4c53f24645c76c9bf57fcb5c swi-prolog-5.6.17.ebuild 3605
+SHA256 4ace55c6904347e78262164de7ac73516a700fb09cbdb7821f4eb1e4eeaf8af3 swi-prolog-5.6.17.ebuild 3605
EBUILD swi-prolog-5.6.8.ebuild 3535 RMD160 53fdbdda0ba795e9590b9ec4c094984f0cd50780 SHA1 29229935c52775a5bacd7319c87616ca922fd1cc SHA256 0a5a0a46d97b8603f18a12c93948581e844f38fa5cbe9a88256da52d97a297ea
MD5 66b0e48b5e024bebc6040b005693ef10 swi-prolog-5.6.8.ebuild 3535
RMD160 53fdbdda0ba795e9590b9ec4c094984f0cd50780 swi-prolog-5.6.8.ebuild 3535
@@ -83,10 +92,10 @@ EBUILD swi-prolog-5.6.9.ebuild 3540 RMD160 a3b9dde5cdbfd22444268f7f964868394bbfd
MD5 37593f25ada049a1ce3701ce0915a58b swi-prolog-5.6.9.ebuild 3540
RMD160 a3b9dde5cdbfd22444268f7f964868394bbfd9c9 swi-prolog-5.6.9.ebuild 3540
SHA256 4a7e888aad675e909a581c4097ef8eb61535df8cb3a9ec219c20ed8c1425de99 swi-prolog-5.6.9.ebuild 3540
-MISC ChangeLog 3594 RMD160 500a521cb42b247b624f1828490674568a0179bf SHA1 d5b7e7454bd248dd0cc7dea7a8d2c4c645e3ad6d SHA256 d83531c9504c7b28768b72dbfa4470ca5256fc24b3002c217991c6427286e729
-MD5 7a39138ff736c6faf429eb2e2f69d982 ChangeLog 3594
-RMD160 500a521cb42b247b624f1828490674568a0179bf ChangeLog 3594
-SHA256 d83531c9504c7b28768b72dbfa4470ca5256fc24b3002c217991c6427286e729 ChangeLog 3594
+MISC ChangeLog 3754 RMD160 c556b4e3dbb21b03ed04ccc90b94334f8b3c6b86 SHA1 d2da47f31c3bf1aa49d10a580f22c3ef2b474736 SHA256 08a56c61c74e8db0f83900a7e6fbea3f4df0054ed45f620273eb7d3e6c40d3a6
+MD5 b3b28bd3eca58006dbb07ee9b9f09fed ChangeLog 3754
+RMD160 c556b4e3dbb21b03ed04ccc90b94334f8b3c6b86 ChangeLog 3754
+SHA256 08a56c61c74e8db0f83900a7e6fbea3f4df0054ed45f620273eb7d3e6c40d3a6 ChangeLog 3754
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
@@ -112,6 +121,9 @@ SHA256 b260f5369e6e792fafa1649fad9dfed28f55d06d03a9d8a73f1583de6e618384 files/di
MD5 39793421ed0066e1abde04592e055d2d files/digest-swi-prolog-5.6.16 235
RMD160 c53a00af0ca23b2c0e542dcfb770e2f32ed5214a files/digest-swi-prolog-5.6.16 235
SHA256 9bcbcdca0615f0cd8b2b686b88da7e52adc5a8e66f8720bdc8325d4f17f699d7 files/digest-swi-prolog-5.6.16 235
+MD5 b4d993594a190404c1182c9bdb35bf9f files/digest-swi-prolog-5.6.17 235
+RMD160 034d25c7f8734034d1e3656c79ae4920a50dd70d files/digest-swi-prolog-5.6.17 235
+SHA256 56784b2db722fb8073bd5d963a45ba523b837ae255022761ed84c18b875f74fd files/digest-swi-prolog-5.6.17 235
MD5 69c20c79c5aeb698888e72036cb021c6 files/digest-swi-prolog-5.6.8 229
RMD160 221664df6018bc92d6323e5c138dbb23e68f8d20 files/digest-swi-prolog-5.6.8 229
SHA256 c74fedc27886eb5e2b6fb24da242d983b5f0f34c0502f0b46386dbd7355ce76a files/digest-swi-prolog-5.6.8 229
diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.17 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.17
new file mode 100644
index 000000000000..56aaea0e1546
--- /dev/null
+++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.17
@@ -0,0 +1,3 @@
+MD5 3858e1f3073deac18ca1f76986f8b69c pl-5.6.17.tar.gz 10652203
+RMD160 7f6786013b43c2e00b8e4a3799cbad1f7cac2fab pl-5.6.17.tar.gz 10652203
+SHA256 4768761ec4ad4c7160373950bc21d6124c3641dfff9dbe5db4dd7c48433e0072 pl-5.6.17.tar.gz 10652203
diff --git a/dev-lang/swi-prolog/files/swi-prolog-test_date.patch b/dev-lang/swi-prolog/files/swi-prolog-test_date.patch
new file mode 100644
index 000000000000..dc11203a49de
--- /dev/null
+++ b/dev-lang/swi-prolog/files/swi-prolog-test_date.patch
@@ -0,0 +1,141 @@
+--- pl-5.6.17.orig/src/Tests/library/test_date.pl 2006-07-28 08:29:29.000000000 +1200
++++ pl-5.6.17/src/Tests/library/test_date.pl 2006-07-29 21:44:38.000000000 +1200
+@@ -25,50 +25,50 @@
+ * TIME_FORMAT/3 TESTS *
+ *******************************/
+
+-ok(1152794050, '~a', 'Thu').
+-ok(1152794050, '~A', 'Thursday').
+-ok(1152794050, '~b', 'Jul').
+-ok(1152794050, '~B', 'July').
+-ok(1152794050, '~c', 'Thu Jul 13 14:34:10 2006').
+-ok(1152794050, '~p', ['P', 'PM']).
+-%ok(1152794050, '~P', 'pm'). % non-standard
+-ok(1152794050, '~x', '07/13/06').
+-ok(1152794050, '~X', '14:34:10').
+-ok(1152794050, '~C', '20').
+-ok(1152794050, '~d', '13').
+-ok(1152794050, '~D', '07/13/06').
+-ok(1152794050, '~e', '13').
++ok(1152794050, '%a', 'Thu').
++ok(1152794050, '%A', 'Thursday').
++ok(1152794050, '%b', 'Jul').
++ok(1152794050, '%B', 'July').
++ok(1152794050, '%c', 'Thu Jul 13 12:34:10 2006').
++ok(1152794050, '%p', ['P', 'PM']).
++%ok(1152794050, '%P', 'pm'). % non-standard
++ok(1152794050, '%x', '07/13/06').
++ok(1152794050, '%X', '12:34:10').
++ok(1152794050, '%C', '20').
++ok(1152794050, '%d', '13').
++ok(1152794050, '%D', '07/13/06').
++ok(1152794050, '%e', '13').
+ %ok(1152794050, '%E', '').
+-ok(1152794050, '~F', '2006-07-13').
+-ok(1152794050, '~g', '06').
+-ok(1152794050, '~G', '2006').
+-ok(1152794050, '~V', '28').
+-ok(1152794050, '~h', 'Jul').
+-ok(1152794050, '~H', '14').
+-ok(1152794050, '~I', '02').
+-ok(1152794050, '~j', '194').
+-ok(1152794050, '~k', '14').
+-ok(1152794050, '~l', ' 2').
+-ok(1152794050, '~m', '07').
+-ok(1152794050, '~M', '34').
+-ok(1152794050, '~n', '\n').
+-%ok(1152794050, '~O', '').
+-ok(1152794050, '~r', '02:34:10 PM').
+-ok(1152794050, '~R', '14:34').
+-ok(1152794050, '~s', '1152794050').
+-ok(1152794050, '~S', '10').
+-ok(1152794050, '~t', '\t').
+-ok(1152794050, '~T', '14:34:10').
+-ok(1152794050, '~u', '4').
+-ok(1152794050, '~U', '28').
+-ok(1152794050, '~w', '4').
+-ok(1152794050, '~W', '28').
+-ok(1152794050, '~y', '06').
+-ok(1152794050, '~Y', '2006').
+-ok(1152794050, '~z', '+0200').
+-ok(1152794050, '~Z', 'CEST').
+-ok(1152794050, '~+', 'Thu Jul 13 14:34:10 2006').
+-ok(1152794050, '~~', '~').
++ok(1152794050, '%F', '2006-07-13').
++ok(1152794050, '%g', '06').
++ok(1152794050, '%G', '2006').
++ok(1152794050, '%V', '28').
++ok(1152794050, '%h', 'Jul').
++ok(1152794050, '%H', '12').
++ok(1152794050, '%I', '00').
++ok(1152794050, '%j', '194').
++ok(1152794050, '%k', '12').
++ok(1152794050, '%l', ' 0').
++ok(1152794050, '%m', '07').
++ok(1152794050, '%M', '34').
++ok(1152794050, '%n', '\n').
++%ok(1152794050, '%O', '').
++ok(1152794050, '%r', '00:34:10 PM').
++ok(1152794050, '%R', '12:34').
++ok(1152794050, '%s', '1152794050').
++ok(1152794050, '%S', '10').
++ok(1152794050, '%t', '\t').
++ok(1152794050, '%T', '12:34:10').
++ok(1152794050, '%u', '4').
++ok(1152794050, '%U', '28').
++ok(1152794050, '%w', '4').
++ok(1152794050, '%W', '28').
++ok(1152794050, '%y', '06').
++ok(1152794050, '%Y', '2006').
++ok(1152794050, '%z', '-0000').
++ok(1152794050, '%Z', 'UTC').
++ok(1152794050, '%+', 'Thu Jul 13 12:34:10 2006').
++ok(1152794050, '%%', '%').
+
+ % test_format/0
+ %
+@@ -77,15 +77,16 @@
+
+ test_format :-
+ setlocale(time, OldLocale, 'C'),
+- ( ok(Time, Fmt, Atom),
+- ( format_time(atom(A), Fmt, Time)
++ ( ok(TimeStamp, Fmt, Atom),
++ stamp_date_time(TimeStamp, DateTime, 'UTC'),
++ ( format_time(atom(A), Fmt, DateTime)
+ -> ( ( A == Atom
+ ; memberchk(A, Atom)
+ )
+ -> true
+ ; format('~q: got ~q, expected ~q~n', [Fmt, A, Atom])
+ )
+- ; format('format_time(~q, ~q, ~q) failed~n', [atom(A), Fmt, Time])
++ ; format('format_time(~q, ~q, ~q) failed~n', [atom(A), Fmt, DateTime])
+ ),
+ fail
+ ; true
+@@ -100,7 +101,7 @@
+ % test_date(+Date, +Time, -FormatTests).
+
+ test_date(1970-1-1, 0:0:0.0, % Epoch
+- [ '~s' = '0'
++ [ '%s' = '0'
+ ]).
+ test_date(0-1-1, 0:0:0.0, []). % Year 0
+ test_date(2000-1-1, 0:0:0.0, []). % Year 2000
+@@ -141,13 +142,13 @@
+ russian_day(A) :-
+ setlocale(time, Old, 'ru_RU.utf8'),
+ get_time(X),
+- format_time(atom(A), '~A', X),
++ format_time(atom(A), '%A', X),
+ setlocale(time, _, Old).
+
+ utc :-
+ get_time(Stamp),
+ stamp_date_time(Stamp, DateTime, 'UTC'),
+- format_time(current_output, '~F ~T ~Z', DateTime).
++ format_time(current_output, '%F %T %Z', DateTime).
+
+ /*******************************
+ * ERROR *
diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.17.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.17.ebuild
new file mode 100644
index 000000000000..6e1491636c26
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-5.6.17.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2006 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.6.17.ebuild,v 1.1 2006/07/29 10:12:13 keri Exp $
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="free, small, and standard compliant Prolog compiler"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~x86"
+IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X"
+
+DEPEND="!dev-lang/swi-prolog-lite
+ sys-libs/ncurses
+ odbc? ( dev-db/unixODBC )
+ berkdb? ( sys-libs/db )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
+ java? ( virtual/jdk )
+ X? ( media-libs/jpeg
+ || ( (
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXt
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-proto/xproto )
+ virtual/x11 ) )"
+
+S="${WORKDIR}/pl-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i -e "s/man boot library/boot library/" src/Makefile.in
+ epatch "${FILESDIR}"/${PN}-CFLAGS.patch
+ epatch "${FILESDIR}"/${PN}-PLBASE.patch
+ epatch "${FILESDIR}"/${PN}-test.patch
+ epatch "${FILESDIR}"/${PN}-test_date.patch
+
+ if ! use minimal ; then
+ epatch "${FILESDIR}"/${PN}-packages-portage.patch
+ epatch "${FILESDIR}"/${PN}-packages-cppproxy.patch
+ epatch "${FILESDIR}"/${PN}-packages-jpl-arch.patch
+ epatch "${FILESDIR}"/${PN}-packages-jpl-install.patch
+ epatch "${FILESDIR}"/${PN}-packages-ltx2htm.patch
+ epatch "${FILESDIR}"/${PN}-packages-test.patch
+ fi
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+
+ einfo "Building SWI-Prolog compiler"
+
+ local threadconf
+ if use java && ! use minimal || use threads ; then
+ threadconf="--enable-mt"
+ else
+ threadconf="--disable-mt"
+ fi
+
+ cd "${S}"/src
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ ${threadconf} \
+ $(use_enable gmp) \
+ $(use_enable readline) \
+ $(use_enable !static shared) \
+ --disable-custom-flags \
+ || die "econf failed"
+ emake -j1 || die "emake failed"
+
+ if ! use minimal ; then
+ einfo "Building SWI-Prolog additional packages"
+
+ for package in clib cppproxy db jpl ltx2htm nlp odbc semweb sgml ssl table xpce/src
+ do
+ cd "${S}/packages/${package}"
+ eautoreconf
+ done
+
+ cd "${S}/packages"
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ ${threadconf} \
+ $(use_enable !static shared) \
+ --without-C-sicstus \
+ --with-chr \
+ --with-clib \
+ --with-clpqr \
+ --with-cpp \
+ --with-cppproxy \
+ $(use_with berkdb db) \
+ --with-http \
+ --without-jasmine \
+ $(use_with java jpl) \
+ $(use_with tetex ltx2htm) \
+ --with-nlp \
+ $(use_with odbc) \
+ --with-semweb \
+ --with-sgml \
+ --with-sgml/RDF \
+ $(use_with ssl) \
+ --with-table \
+ $(use_with X xpce) \
+ || die "packages econf failed"
+
+ emake -j1 || die "packages emake failed"
+ fi
+}
+
+src_install() {
+ make -C src DESTDIR="${D}" install || die "install src failed"
+
+ if ! use minimal ; then
+ make -C packages DESTDIR="${D}" install || die "install packages failed"
+ if use doc ; then
+ make -C packages DESTDIR="${D}" html-install || die "html-install failed"
+ make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
+ fi
+ fi
+
+ dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION
+}
+
+src_test() {
+ cd "${S}/src"
+ make check || die "make check failed. See above for details."
+
+ if ! use minimal ; then
+ cd "${S}/packages"
+ make check || die "make check failed. See above for details."
+ fi
+}