diff options
author | Keri Harris <keri@gentoo.org> | 2012-01-28 18:46:10 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2012-01-28 18:46:10 +0000 |
commit | dfca51144f90156384bccba4d9166210c82d86b4 (patch) | |
tree | 22c8593ee5d6c9f94a71a7a91168a8c6a7559f79 /dev-lang/xsb | |
parent | alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #400559 (diff) | |
download | historical-dfca51144f90156384bccba4d9166210c82d86b4.tar.gz historical-dfca51144f90156384bccba4d9166210c82d86b4.tar.bz2 historical-dfca51144f90156384bccba4d9166210c82d86b4.zip |
Remove old versions
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/xsb')
-rw-r--r-- | dev-lang/xsb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/xsb/Manifest | 19 | ||||
-rw-r--r-- | dev-lang/xsb/xsb-3.2-r1.ebuild | 205 | ||||
-rw-r--r-- | dev-lang/xsb/xsb-3.3.0.ebuild | 242 | ||||
-rw-r--r-- | dev-lang/xsb/xsb-3.3.1.ebuild | 242 |
5 files changed, 10 insertions, 704 deletions
diff --git a/dev-lang/xsb/ChangeLog b/dev-lang/xsb/ChangeLog index f60c9844714c..fa62389b40fa 100644 --- a/dev-lang/xsb/ChangeLog +++ b/dev-lang/xsb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/xsb # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.38 2012/01/28 14:54:54 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.39 2012/01/28 18:46:10 keri Exp $ + + 28 Jan 2012; <keri@gentoo.org> -xsb-3.2-r1.ebuild, -xsb-3.3.0.ebuild, + -xsb-3.3.1.ebuild: + Remove old versions 28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> xsb-3.3.2.ebuild: x86 stable wrt bug #396887 diff --git a/dev-lang/xsb/Manifest b/dev-lang/xsb/Manifest index eef7b935a053..9bfa53b3bb0a 100644 --- a/dev-lang/xsb/Manifest +++ b/dev-lang/xsb/Manifest @@ -1,30 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 -DIST XSB.tar.gz 10808490 RMD160 66b4e79f9b47cd5db9f3f8b718929181f7f6c401 SHA1 3563a3ba4b469016697d704e65e5b17a75200710 SHA256 db190bc045a475e24a8ca305b6a77cf0a84c61ebaade1fadef09d13b7c4ee024 -DIST XSB330.tar.gz 11037283 RMD160 6d22119f088599ebd89cb0a3e54bfbcb0da61614 SHA1 a0e45767f70e2d4d9bd744bbbfbf30b7df3eeba0 SHA256 0a1bb5b1c0e625d99865ed1f8e5b6d14650521541e69019d5c9d20f12c32e385 -DIST XSB331.tar.gz 13975953 RMD160 02d93ea366cedbfd944d8b10fdae0857e0caecea SHA1 37e1a8e3033bf9a6c3edeb62c6355deddf114a5c SHA256 ea7eadbe8f37aa01b8093a6f96b81c0d90e31b2078a1ccd5275e7549a192bf95 DIST XSB332.tar.gz 11182086 RMD160 c2d01a9dfded470b84a67d4f34f581100fe18203 SHA1 e64b306a561e5c944bab601da2ba020c3eadf68b SHA256 1d26006526b13ba23bd11cf841fc38298097f46b958b22c5e11bd975ec6994bb DIST XSB333.tar.gz 11069573 RMD160 4dadc27e67c614f58cc1cac3ca05abec94e42e98 SHA1 8106ecc2ca8484cdfe590983cc4ff7720f452f0e SHA256 9dfa3cd4b443d1b9ee1796e11aa9961556013e995bcbfe792b705e1ee00daa04 DIST XSB335.tar.gz 11724736 RMD160 e57fa486d30ecb0b3dbae661fbf2cb06a7eae999 SHA1 bf9450d6a93be57a67b0652376af22aabca329b0 SHA256 10a62160cbf31eb3db9d8c7fc33f561f96b6d4374aeba9c8af13ba2ba83e83bc -DIST xsb-3.2-gentoo-patchset-3.tar.gz 21365 RMD160 507e70f906645fe4df0941a1549dde774cbebacf SHA1 06bddf984fcc5b7e60c6db97acc46609dec088d7 SHA256 92e5e3e5bd930021501909474530d1336e0c5f5f830e84f773fcf3a8cd85021a -DIST xsb-3.3.0-gentoo-patchset-0.tar.gz 18528 RMD160 202945e47b616b616a2c14a759a3b91bf2a96e49 SHA1 683a03e12a25a8fe1eb4ecfe40c62afc26bbf19c SHA256 e9b8c3e2763a551c66b8e7931a7d285ab35b4db19c349d2d922d452eaf63c32c -DIST xsb-3.3.1-gentoo-patchset-0.tar.gz 19028 RMD160 4b0fcb39aa7e76f14d107be917f0fb78f44dfe02 SHA1 0b33020d82561ba47285b76cdc2f24595787c2e8 SHA256 e091d43d7b1fcf3e52996d5301c4ddb18227d279394a894ec5a7f56016fa7569 DIST xsb-3.3.2-gentoo-patchset-3.tar.gz 18167 RMD160 9b2a731c628961a626032ed5558074d540f66a65 SHA1 bbf8a98333b3072c277dff0bd820a87dbee8348a SHA256 2fb86eb7b610a810c192a04c441b4397375dcd462c4aeec144098992f8c2e0ec DIST xsb-3.3.3-gentoo-patchset-0.tar.gz 17314 RMD160 31e22214115e3d8e9231099f4c87415dc20cf0d7 SHA1 529f8e0ed1d4879e69719cbfbf1d161ed6ef2921 SHA256 eaec68638ea4419a4b3bea1c09cfb97061e13f2683000ac54c3c20046eca9db2 DIST xsb-3.3.5-gentoo-patchset-0.tar.gz 18570 RMD160 06d3f3dd29f0007fe7eb4fd73abeb5e6ea562d00 SHA1 229a755b756f47319c23ebbd98d8b9fb7fd26874 SHA256 808e90836e69bcd9609ad945377324a65a2f86472c934638fbe5cba5b49bdd88 -EBUILD xsb-3.2-r1.ebuild 4482 RMD160 89c78ba1135643b5569a932d7ffee8aa40a46fd6 SHA1 7c7182a71332e86ac8b18c6e3fab237f1a2cb003 SHA256 b71aff88c5a31cfb1be4dccc68e58fe7a1ad0aa7b6a7fbbba6a1437d5db8f294 -EBUILD xsb-3.3.0.ebuild 5105 RMD160 5eb2ed360e725f116fe9908742d6c8028dc3b8b3 SHA1 9af9bac2f42674e1f100edba2044012c10bdce24 SHA256 d70f587682a7b8baf758041a8447cb0c8266c7ed6f93ab4aa5d9811daf524cb0 -EBUILD xsb-3.3.1.ebuild 5105 RMD160 43ccc27b7b374caee049cd65eb2e29428edda96b SHA1 12a189216231a0f16128db0f7b869beeedcfc812 SHA256 924df88f29956e6dd613c181b00dae34a9f06bd9af40d37538e380300efc2630 EBUILD xsb-3.3.2.ebuild 4489 RMD160 73097dfe14f3fa3e8438fac8e374ab0687e6c168 SHA1 0d9e583398689d0c49086cbc866f528f27e8edbe SHA256 5e05cc9cb96fb403d0d28d5303a8b38348ebd4bd6cd7ee81036adc6e1a1635d5 EBUILD xsb-3.3.3.ebuild 4452 RMD160 a213e34011c891905bd3ada9148c80a95a992824 SHA1 0bf7b1627dad9037f768f20e95b05b969724694c SHA256 26bc6fed655e5f665b45de469de35098ec222794ffe434c20a5fea9f396b96e4 EBUILD xsb-3.3.5.ebuild 4452 RMD160 6dcea50859616c29146f51f3a077f8f36c36fd6b SHA1 35bbf034573816ddfc38d4edba157c6963208c5f SHA256 1f351392e951faa99710163e9e194497089bfd986237090d2d0a12a152fc7bc5 -MISC ChangeLog 6399 RMD160 8e3277f57c9973b7f061d031d5f8c8f6f3bbd95d SHA1 502234b0ebfddb0e152653631e34745b696a47b8 SHA256 9a470aa6f98ca59455d33b195c7106ed9e126d69f13a6ddb886bfd17fae7f831 +MISC ChangeLog 6509 RMD160 2705fe6f05419c4783c619a75fa593da81f14a07 SHA1 6d20190956cb76f0b22506e7379a1b471cc9eab9 SHA256 90798b6db3293ad4e14c1e0c7512676754abcb996952f3f09c9f8b8a1c9ceeff MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREKAAYFAk8kDEQACgkQuUQtlDBCeQK+nACeOBeCMO9wauUz/ZG/0It9+4tc -wTkAnjLCD/b7QynMTLoWmJlgijaTnZz/ -=VMjI +iEYEARECAAYFAk8kQn0ACgkQrwS/tqE49e3oowCgkyhZ0BFVdMtK91CElkmTz4lJ +G1AAn0WSdBVqAz9Ta5s+iy+Na9Eawf7M +=ILik -----END PGP SIGNATURE----- diff --git a/dev-lang/xsb/xsb-3.2-r1.ebuild b/dev-lang/xsb/xsb-3.2-r1.ebuild deleted file mode 100644 index 0b81fde06313..000000000000 --- a/dev-lang/xsb/xsb-3.2-r1.ebuild +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.2-r1.ebuild,v 1.5 2010/11/02 05:59:46 keri Exp $ - -MY_P="XSB" - -PATCHSET_VER="3" - -inherit eutils autotools java-pkg-opt-2 - -DESCRIPTION="XSB is a logic programming and deductive database system" -HOMEPAGE="http://xsb.sourceforge.net" -SRC_URI="http://xsb.sourceforge.net/downloads/${MY_P}.tar.gz - mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug examples iodbc java libwww mysql odbc perl threads xml" - -RDEPEND="iodbc? ( dev-db/libiodbc ) - java? ( >=virtual/jdk-1.4 ) - libwww? ( net-libs/libwww ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - perl? ( dev-lang/perl ) - xml? ( dev-libs/libxml2 )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_FORCE=yes - EPATCH_SUFFIX=patch - epatch "${WORKDIR}"/${PV} - - cd "${S}"/build - eautoconf -} - -src_compile() { - cd "${S}"/build - - econf \ - --libdir=/usr/$(get_libdir) \ - --disable-optimization \ - --without-smodels \ - --with-config-tag="" \ - $(use_with java interprolog) \ - $(use_with odbc) \ - $(use_with iodbc) \ - $(use_enable threads mt) \ - $(use_enable debug) - - emake || die "emake failed" - - if use libwww ; then - cd "${S}"/packages/libwww - econf --with-libwww=/usr - fi - - if use mysql ; then - cd "${S}"/packages/dbdrivers/mysql - econf - fi - - if use odbc ; then - cd "${S}"/packages/dbdrivers/odbc - econf - fi - - if use xml ; then - cd "${S}"/packages/xpath - econf - fi - - # All XSB Packages are compiled using a single Prolog engine. - # Consequently they must all be compiled using a single make job. - - cd "${S}"/packages - rm -rf *.xwam - emake -j1 || die "emake packages failed" - - if use libwww ; then - emake -j1 libwww || die "emake libwww package failed" - fi - - if use mysql ; then - emake -j1 mysql || die "emake mysql package failed" - fi - - if use odbc ; then - emake -j1 odbc || die "emake odbc package failed" - fi - - if use perl ; then - emake -j1 perlmatch || die "emake perlmatch package failed" - fi - - if use xml ; then - emake -j1 xpath || die "emake xpath package failed" - fi -} - -src_install() { - cd "${S}"/build - emake DESTDIR="${D}" install || die "make install failed" - - local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV} - dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb || die - - cd "${S}"/packages - local PACKAGES=${XSB_INSTALL_DIR}/packages - insinto ${PACKAGES} - doins *.xwam || die - - insinto ${PACKAGES}/chr - doins chr/*.xwam || die - - insinto ${PACKAGES}/chr_d - doins chr_d/*.xwam || die - - insinto ${PACKAGES}/gap - doins gap/*.xwam || die - - insinto ${PACKAGES}/justify - doins justify/*.xwam || die - doins justify/*.H || die - - insinto ${PACKAGES}/regmatch - doins regmatch/*.xwam || die - insinto ${PACKAGES}/regmatch/cc - doins regmatch/cc/*.H || die - - insinto ${PACKAGES}/sgml - doins sgml/*.xwam || die - insinto ${PACKAGES}/sgml/cc - doins sgml/cc/*.H || die - insinto ${PACKAGES}/sgml/cc/dtd - doins sgml/cc/dtd/* || die - - insinto ${PACKAGES}/slx - doins slx/*.xwam || die - - insinto ${PACKAGES}/wildmatch - doins wildmatch/*.xwam || die - insinto ${PACKAGES}/wildmatch/cc - doins wildmatch/cc/*.H || die - - if use libwww ; then - insinto ${PACKAGES}/libwww - doins libwww/*.xwam || die - insinto ${PACKAGES}/libwww/cc - doins libwww/cc/*.H || die - fi - - if use mysql || use odbc ; then - insinto ${PACKAGES}/dbdrivers - doins dbdrivers/*.xwam || die - doins dbdrivers/*.H || die - insinto ${PACKAGES}/dbdrivers/cc - doins dbdrivers/cc/*.H || die - if use mysql ; then - insinto ${PACKAGES}/dbdrivers/mysql - doins dbdrivers/mysql/*.xwam || die - insinto ${PACKAGES}/dbdrivers/mysql/cc - doins dbdrivers/mysql/cc/*.H || die - fi - if use odbc ; then - insinto ${PACKAGES}/dbdrivers/odbc - doins dbdrivers/odbc/*.xwam || die - insinto ${PACKAGES}/dbdrivers/odbc/cc - doins dbdrivers/odbc/cc/*.H || die - fi - fi - - if use perl ; then - insinto ${PACKAGES}/perlmatch - doins perlmatch/*.xwam || die - insinto ${PACKAGES}/perlmatch/cc - doins perlmatch/cc/*.H || die - fi - - if use xml ; then - insinto ${PACKAGES}/xpath - doins xpath/*xwam || die - insinto ${PACKAGES}/xpath/cc - doins xpath/cc/*.H || die - fi - - if use examples ; then - cd "${S}"/build - emake \ - DESTDIR="${D}" \ - install_examples="${D}"/usr/share/doc/${PF}/examples \ - install_examples || die "make install_examples failed" - fi - - cd "${S}" - dodoc FAQ README || die -} diff --git a/dev-lang/xsb/xsb-3.3.0.ebuild b/dev-lang/xsb/xsb-3.3.0.ebuild deleted file mode 100644 index ef6641bb7e7e..000000000000 --- a/dev-lang/xsb/xsb-3.3.0.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.3.0.ebuild,v 1.1 2011/05/10 07:16:52 keri Exp $ - -EAPI=2 - -MY_P="XSB${PV//./}" - -PATCHSET_VER="0" - -inherit eutils autotools java-pkg-opt-2 - -DESCRIPTION="XSB is a logic programming and deductive database system" -HOMEPAGE="http://xsb.sourceforge.net" -SRC_URI="http://xsb.sourceforge.net/downloads/${MY_P}.tar.gz - mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="curl debug examples iodbc java libwww mysql odbc pcre perl threads xml" - -RDEPEND="curl? ( net-misc/curl ) - iodbc? ( dev-db/libiodbc ) - java? ( >=virtual/jdk-1.4 ) - libwww? ( net-libs/libwww ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - pcre? ( dev-libs/libpcre ) - perl? ( dev-lang/perl ) - xml? ( dev-libs/libxml2 )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/XSB - -src_prepare() { - EPATCH_FORCE=yes - EPATCH_SUFFIX=patch - epatch "${WORKDIR}"/${PV} - - cd "${S}"/build - eautoconf - - find "${S}"/emu -name '*\.o' | xargs rm -f -} - -src_configure() { - cd "${S}"/build - - econf \ - --libdir=/usr/$(get_libdir) \ - --disable-optimization \ - --without-smodels \ - --with-config-tag="" \ - $(use_with java interprolog) \ - $(use_with odbc) \ - $(use_with iodbc) \ - $(use_enable threads mt) \ - $(use_enable debug) - - if use curl ; then - cd "${S}"/packages/curl - econf - fi - - if use libwww ; then - cd "${S}"/packages/libwww - econf --with-libwww=/usr - fi - - if use mysql ; then - cd "${S}"/packages/dbdrivers/mysql - econf - fi - - if use odbc ; then - cd "${S}"/packages/dbdrivers/odbc - econf - fi - - if use pcre ; then - cd "${S}"/packages/pcre - econf - fi - - if use xml ; then - cd "${S}"/packages/xpath - econf - fi -} - -src_compile() { - cd "${S}"/build - - emake || die "emake failed" - - # All XSB Packages are compiled using a single Prolog engine. - # Consequently they must all be compiled using a single make job. - - cd "${S}"/packages - rm -rf *.xwam - emake -j1 || die "emake packages failed" - - if use curl ; then - emake -j1 curl || die "emake curl package failed" - fi - - if use libwww ; then - emake -j1 libwww || die "emake libwww package failed" - fi - - if use mysql ; then - emake -j1 mysql || die "emake mysql package failed" - fi - - if use odbc ; then - emake -j1 odbc || die "emake odbc package failed" - fi - - if use pcre ; then - emake -j1 pcre || die "emake pcre package failed" - fi - - if use perl ; then - emake -j1 perlmatch || die "emake perlmatch package failed" - fi - - if use xml ; then - emake -j1 xpath || die "emake xpath package failed" - fi -} - -src_install() { - cd "${S}"/build - emake DESTDIR="${D}" install || die "make install failed" - - local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV} - dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb || die - - cd "${S}"/packages - local PACKAGES=${XSB_INSTALL_DIR}/packages - insinto ${PACKAGES} - doins *.xwam || die - - insinto ${PACKAGES}/chr - doins chr/*.xwam || die - - insinto ${PACKAGES}/chr_d - doins chr_d/*.xwam || die - - insinto ${PACKAGES}/gap - doins gap/*.xwam || die - - insinto ${PACKAGES}/justify - doins justify/*.xwam || die - doins justify/*.H || die - - insinto ${PACKAGES}/regmatch - doins regmatch/*.xwam || die - insinto ${PACKAGES}/regmatch/cc - doins regmatch/cc/*.H || die - - insinto ${PACKAGES}/sgml - doins sgml/*.xwam || die - insinto ${PACKAGES}/sgml/cc - doins sgml/cc/*.H || die - insinto ${PACKAGES}/sgml/cc/dtd - doins sgml/cc/dtd/* || die - - insinto ${PACKAGES}/slx - doins slx/*.xwam || die - - insinto ${PACKAGES}/wildmatch - doins wildmatch/*.xwam || die - insinto ${PACKAGES}/wildmatch/cc - doins wildmatch/cc/*.H || die - - if use curl ; then - insinto ${PACKAGES}/curl - doins curl/*.xwam || die - fi - - if use libwww ; then - insinto ${PACKAGES}/libwww - doins libwww/*.xwam || die - insinto ${PACKAGES}/libwww/cc - doins libwww/cc/*.H || die - fi - - if use mysql || use odbc ; then - insinto ${PACKAGES}/dbdrivers - doins dbdrivers/*.xwam || die - doins dbdrivers/*.H || die - insinto ${PACKAGES}/dbdrivers/cc - doins dbdrivers/cc/*.H || die - if use mysql ; then - insinto ${PACKAGES}/dbdrivers/mysql - doins dbdrivers/mysql/*.xwam || die - insinto ${PACKAGES}/dbdrivers/mysql/cc - doins dbdrivers/mysql/cc/*.H || die - fi - if use odbc ; then - insinto ${PACKAGES}/dbdrivers/odbc - doins dbdrivers/odbc/*.xwam || die - insinto ${PACKAGES}/dbdrivers/odbc/cc - doins dbdrivers/odbc/cc/*.H || die - fi - fi - - if use pcre ; then - insinto ${PACKAGES}/pcre - doins pcre/*.xwam || die - insinto ${PACKAGES}/pcre/cc - doins pcre/cc/*.H || die - fi - - if use perl ; then - insinto ${PACKAGES}/perlmatch - doins perlmatch/*.xwam || die - insinto ${PACKAGES}/perlmatch/cc - doins perlmatch/cc/*.H || die - fi - - if use xml ; then - insinto ${PACKAGES}/xpath - doins xpath/*xwam || die - insinto ${PACKAGES}/xpath/cc - doins xpath/cc/*.H || die - fi - - if use examples ; then - cd "${S}"/build - emake \ - DESTDIR="${D}" \ - install_examples="${D}"/usr/share/doc/${PF}/examples \ - install_examples || die "make install_examples failed" - fi - - cd "${S}" - dodoc FAQ README || die -} diff --git a/dev-lang/xsb/xsb-3.3.1.ebuild b/dev-lang/xsb/xsb-3.3.1.ebuild deleted file mode 100644 index 3ae3f0e5b5eb..000000000000 --- a/dev-lang/xsb/xsb-3.3.1.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.3.1.ebuild,v 1.1 2011/05/12 06:51:47 keri Exp $ - -EAPI=2 - -MY_P="XSB${PV//./}" - -PATCHSET_VER="0" - -inherit eutils autotools java-pkg-opt-2 - -DESCRIPTION="XSB is a logic programming and deductive database system" -HOMEPAGE="http://xsb.sourceforge.net" -SRC_URI="http://xsb.sourceforge.net/downloads/${MY_P}.tar.gz - mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="curl debug examples iodbc java libwww mysql odbc pcre perl threads xml" - -RDEPEND="curl? ( net-misc/curl ) - iodbc? ( dev-db/libiodbc ) - java? ( >=virtual/jdk-1.4 ) - libwww? ( net-libs/libwww ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - pcre? ( dev-libs/libpcre ) - perl? ( dev-lang/perl ) - xml? ( dev-libs/libxml2 )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/XSB - -src_prepare() { - EPATCH_FORCE=yes - EPATCH_SUFFIX=patch - epatch "${WORKDIR}"/${PV} - - cd "${S}"/build - eautoconf - - find "${S}"/emu -name '*\.o' | xargs rm -f -} - -src_configure() { - cd "${S}"/build - - econf \ - --libdir=/usr/$(get_libdir) \ - --disable-optimization \ - --without-smodels \ - --with-config-tag="" \ - $(use_with java interprolog) \ - $(use_with odbc) \ - $(use_with iodbc) \ - $(use_enable threads mt) \ - $(use_enable debug) - - if use curl ; then - cd "${S}"/packages/curl - econf - fi - - if use libwww ; then - cd "${S}"/packages/libwww - econf --with-libwww=/usr - fi - - if use mysql ; then - cd "${S}"/packages/dbdrivers/mysql - econf - fi - - if use odbc ; then - cd "${S}"/packages/dbdrivers/odbc - econf - fi - - if use pcre ; then - cd "${S}"/packages/pcre - econf - fi - - if use xml ; then - cd "${S}"/packages/xpath - econf - fi -} - -src_compile() { - cd "${S}"/build - - emake || die "emake failed" - - # All XSB Packages are compiled using a single Prolog engine. - # Consequently they must all be compiled using a single make job. - - cd "${S}"/packages - rm -rf *.xwam - emake -j1 || die "emake packages failed" - - if use curl ; then - emake -j1 curl || die "emake curl package failed" - fi - - if use libwww ; then - emake -j1 libwww || die "emake libwww package failed" - fi - - if use mysql ; then - emake -j1 mysql || die "emake mysql package failed" - fi - - if use odbc ; then - emake -j1 odbc || die "emake odbc package failed" - fi - - if use pcre ; then - emake -j1 pcre || die "emake pcre package failed" - fi - - if use perl ; then - emake -j1 perlmatch || die "emake perlmatch package failed" - fi - - if use xml ; then - emake -j1 xpath || die "emake xpath package failed" - fi -} - -src_install() { - cd "${S}"/build - emake DESTDIR="${D}" install || die "make install failed" - - local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV} - dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb || die - - cd "${S}"/packages - local PACKAGES=${XSB_INSTALL_DIR}/packages - insinto ${PACKAGES} - doins *.xwam || die - - insinto ${PACKAGES}/chr - doins chr/*.xwam || die - - insinto ${PACKAGES}/chr_d - doins chr_d/*.xwam || die - - insinto ${PACKAGES}/gap - doins gap/*.xwam || die - - insinto ${PACKAGES}/justify - doins justify/*.xwam || die - doins justify/*.H || die - - insinto ${PACKAGES}/regmatch - doins regmatch/*.xwam || die - insinto ${PACKAGES}/regmatch/cc - doins regmatch/cc/*.H || die - - insinto ${PACKAGES}/sgml - doins sgml/*.xwam || die - insinto ${PACKAGES}/sgml/cc - doins sgml/cc/*.H || die - insinto ${PACKAGES}/sgml/cc/dtd - doins sgml/cc/dtd/* || die - - insinto ${PACKAGES}/slx - doins slx/*.xwam || die - - insinto ${PACKAGES}/wildmatch - doins wildmatch/*.xwam || die - insinto ${PACKAGES}/wildmatch/cc - doins wildmatch/cc/*.H || die - - if use curl ; then - insinto ${PACKAGES}/curl - doins curl/*.xwam || die - fi - - if use libwww ; then - insinto ${PACKAGES}/libwww - doins libwww/*.xwam || die - insinto ${PACKAGES}/libwww/cc - doins libwww/cc/*.H || die - fi - - if use mysql || use odbc ; then - insinto ${PACKAGES}/dbdrivers - doins dbdrivers/*.xwam || die - doins dbdrivers/*.H || die - insinto ${PACKAGES}/dbdrivers/cc - doins dbdrivers/cc/*.H || die - if use mysql ; then - insinto ${PACKAGES}/dbdrivers/mysql - doins dbdrivers/mysql/*.xwam || die - insinto ${PACKAGES}/dbdrivers/mysql/cc - doins dbdrivers/mysql/cc/*.H || die - fi - if use odbc ; then - insinto ${PACKAGES}/dbdrivers/odbc - doins dbdrivers/odbc/*.xwam || die - insinto ${PACKAGES}/dbdrivers/odbc/cc - doins dbdrivers/odbc/cc/*.H || die - fi - fi - - if use pcre ; then - insinto ${PACKAGES}/pcre - doins pcre/*.xwam || die - insinto ${PACKAGES}/pcre/cc - doins pcre/cc/*.H || die - fi - - if use perl ; then - insinto ${PACKAGES}/perlmatch - doins perlmatch/*.xwam || die - insinto ${PACKAGES}/perlmatch/cc - doins perlmatch/cc/*.H || die - fi - - if use xml ; then - insinto ${PACKAGES}/xpath - doins xpath/*xwam || die - insinto ${PACKAGES}/xpath/cc - doins xpath/cc/*.H || die - fi - - if use examples ; then - cd "${S}"/build - emake \ - DESTDIR="${D}" \ - install_examples="${D}"/usr/share/doc/${PF}/examples \ - install_examples || die "make install_examples failed" - fi - - cd "${S}" - dodoc FAQ README || die -} |