diff options
author | Keri Harris <keri@gentoo.org> | 2015-01-09 15:40:55 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2015-01-09 15:40:55 +0000 |
commit | 24319e2d9f56b04b9d4740a3f58fd6ddd900d791 (patch) | |
tree | 53aebd5721d4e06424a59dbccef6a88f3c2bacb2 /dev-lang/xsb | |
parent | ebuild cosmetics (diff) | |
download | historical-24319e2d9f56b04b9d4740a3f58fd6ddd900d791.tar.gz historical-24319e2d9f56b04b9d4740a3f58fd6ddd900d791.tar.bz2 historical-24319e2d9f56b04b9d4740a3f58fd6ddd900d791.zip |
Version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA138F5ED
Diffstat (limited to 'dev-lang/xsb')
-rw-r--r-- | dev-lang/xsb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/xsb/Manifest | 11 | ||||
-rw-r--r-- | dev-lang/xsb/xsb-3.3.7.ebuild | 213 |
3 files changed, 226 insertions, 5 deletions
diff --git a/dev-lang/xsb/ChangeLog b/dev-lang/xsb/ChangeLog index 4c36b8d8c855..fff2b49f5de2 100644 --- a/dev-lang/xsb/ChangeLog +++ b/dev-lang/xsb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/xsb # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.46 2015/01/09 14:32:09 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.47 2015/01/09 15:40:44 keri Exp $ + +*xsb-3.3.7 (09 Jan 2015) + + 09 Jan 2015; <keri@gentoo.org> +xsb-3.3.7.ebuild: + Version bump 09 Jan 2015; <keri@gentoo.org> xsb-3.3.6.ebuild: Do not compile sgml Prolog module without USE=curl diff --git a/dev-lang/xsb/Manifest b/dev-lang/xsb/Manifest index c71ed80218db..c9dbed128b95 100644 --- a/dev-lang/xsb/Manifest +++ b/dev-lang/xsb/Manifest @@ -3,16 +3,19 @@ Hash: SHA256 DIST XSB335.tar.gz 11724736 SHA256 10a62160cbf31eb3db9d8c7fc33f561f96b6d4374aeba9c8af13ba2ba83e83bc SHA512 0c620374ada32c421c3329096f76e3bd9773397bb1543f696d588fc03ecbcd72a629a53503160dfa001b75f316a87947d460e2923e9569e67f53fd3c32affb9c WHIRLPOOL dd06aef1bc99581465570989370eca4c59c6e95f6ea022dea00553ddb41a97f04e6f5e65b44c255097059008c571c558b8b01c9fc57042b58653f2f2d78bf810 DIST XSB336.tar.gz 11823814 SHA256 3ac7448d7c323717d67edd09f37515ef991d71871ca3ce521975981fee1d9de7 SHA512 dc227e1338454a181ee2c3f84b2c8083bd4607252d89368a614a9894c5403eaf173fdc036a548aab8c6eb2ed7252e5e69a5caedff20710e83cf8c6ec66a8317a WHIRLPOOL bc48fe7dced9c3050253f2122507715abb0a528ba702432ca63a0385cccf47d9a8a1f47b901f779811c238d2015a368a420adbb93d4f68f0640396069112ad19 +DIST XSB337.tar.gz 12176947 SHA256 6deb73ed8774ff2e0414ee7a1af29a3768b964f3fe22e7579670d61c3ca7ff40 SHA512 e98c56ad7fb107252160a03a1c07567119921be6a06c7be22960f2334517ccc8799d8bc49d4e260697f5d5912dda0236dc697b4fb8016652b4f81255ae442883 WHIRLPOOL 2daac410add67fcdffcd47660d0bf52701626be23dd6c2400efbe21e2f3f02b5f11d5231e9fac19787369ddf9a8499d9c876889849078dcd4714ca0ed5c75f8a DIST xsb-3.3.5-gentoo-patchset-0.tar.gz 18570 SHA256 808e90836e69bcd9609ad945377324a65a2f86472c934638fbe5cba5b49bdd88 SHA512 124cee0a0bc54ad503627acb318ae8933fe54e01412411299c2294dd52c7a6b47f02ff72abe48d1a95584f7f5fc8194a89cc8e1e30198caad3b2941ce7c94cdc WHIRLPOOL 519938e856e3e3339a430b385900b8cd02307928382dc978340deab687ff61904ad49bfe1d5455ebb702d6c58af3d4bf8b377ba42b008b67cc9e52ae2a58ee34 DIST xsb-3.3.6-gentoo-patchset-1.tar.gz 17711 SHA256 7630aa3497a80e6a39580bb050da8169318842de3f6b17a8b1f8a721ea6ec0e4 SHA512 a554833e974973f3bf6ad9d63d1e7bcbe358cfccdd35ad3f982375cfa171637484277c9c8be95c5eea34dac87845d02b6abc7d4675e1ff324c64603ae06338d1 WHIRLPOOL 5a0c6bfcc554e5c34f57acf1de2001bfbdea7e18e2ed1037409f58dc2151199c79af01f7d7cca8b7dea79bfe571fca8ff6b1f78ab368d7255e49dab8fe61fa3e +DIST xsb-3.3.7-gentoo-patchset-0.tar.gz 18248 SHA256 2eaad6dedac906f207c24713d92115086196f3c626d1b0e0401c71b4bfe10038 SHA512 3943000e40abad25da8fef2983e059dadf6d794a5a40406a3fb9d7e29506afb0d5ad1d86b0825849ea7dd9741fdfafa2b71fc2fd26cc2b679e39d85f76a91959 WHIRLPOOL d2d51c482d1ff207709c8ed280eb148c632d81d4670ead646c8eb5a62651932dbe292adca03060d1b591405fdbad274be1b767fd3e19e5a4f4e4da3fd4277ea6 EBUILD xsb-3.3.5.ebuild 4452 SHA256 36b44944cea52e2b8c23332dd9816834f74fc1902ff45d0bb83f951467986f43 SHA512 0f88fac705909868c4dbc1fe6140afdac7c7cf21c1cc970ac317f7910b07ece52debc9101e871eda15a7e6a4bf94312b9b8147e3e9f759fa2452955bb546745c WHIRLPOOL a5bf37f24219b174ca39b4ca1d9b08ab617a0e627c6c3e775033eb1a5cbf9ff84f3969796375ff5b2977a9b11add00b2edc4f88a26a22445a52b174eddfe5a65 EBUILD xsb-3.3.6.ebuild 4502 SHA256 7655930ae51400ca3131ad4ed0a58fcd3c8cd080b02fc20cdcd805790b24fdbd SHA512 9516dcb90615ccd971fd7168612395ffe5250c36f35a4dacc6bb53f1ec01401a59f01c902c42373751ae898aacb25884960dc8b1b5679c30cba6558374db864f WHIRLPOOL 7366ccbd594e3df25f46509fe42fc1942368c57feca1420ddf0a0929ba5ec5763f53ef4dbeb7de3be09b0f8e22439c5ee5aa5809376abe4782b1577c6fad4b34 -MISC ChangeLog 7172 SHA256 c98407bf56a2b4ffc0f388a4ced252e575d8e740b2e420623d1bf65fb801c283 SHA512 9d564657098eec9232b0aa7b98182239b46a56542920d9a07ef43575f781afa46247ded475ec8854a3bccc0acc0cca307acb7778d678c63f75bf44e09d9dbebc WHIRLPOOL 082a0f02af01c9c0b0e82d8827a5020633999b6c811e1240ad6bb0d65b16471076c2a513c878d6ce914e480d77812a3a9af56e5ba933fcd4ef88488d0f43a870 +EBUILD xsb-3.3.7.ebuild 4504 SHA256 294d869c7646fc9ac061a535d6ec7102156940fb31e68c215c601457a3b66755 SHA512 d650a4db7bda17f8cf737add4d97c9c69272f6e44f21f9c4398c010ad9b971011cdbf97210e70abff3e9dfc3309b97bbe3cbdcde38be29471cf56c0bab67bfd5 WHIRLPOOL 233d180c599aecbc7eba1285cf5d3b377afffdbb151f5590e5327e9faf99f770d2df2168f5e727626bd78ca8c5bee1be89a6b5b41029e694c6de86a5db23d4c3 +MISC ChangeLog 7266 SHA256 64961fdc8dbdc193c66bb801fb299ceb6dd9ab30e2bb4988ebd563045f1a138e SHA512 e7c4712883d4cb0ba143228264f369367455745996520fe7d99702bd8c229bde2a3ca8cf7980dec99646c817d0a402483a0050559a1cfade34d1fb2b84298a44 WHIRLPOOL e6e48172860cc2ac94980035df457540066a007b9b31a86aa3237b8269aa0c3c24bbf682954d720aedaf0e2c1e669f909f59a0933909a4527439caaf8233fd35 MISC metadata.xml 159 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba SHA512 532979c6de159980035c56482b05558c2b59c97dc99d83903988d8a535512e209110273f7123fcb0b1ce8aeed34b368fc7a309e68f3a6b510296d547b0134137 WHIRLPOOL 24bf1d6894c0450424190af0e967c7f947cfa9a3a4b6cbe29c0a54ea4f857e252fb6ee5d14b3503b52f066dca47b4b7add3b7a57c5391de468ea49d589a2fe37 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlSv5fQACgkQrwS/tqE49e2NswCdHoq7ZyckBDcHjQo8bPANZfb2 -nGcAnR4EiXg4AYyxBzxqB3t1Q7jTsxMh -=827j +iEYEAREIAAYFAlSv9gcACgkQrwS/tqE49e1k/gCgn+lQSCqJwpmasos1g9Rs9uo4 +/KoAnAxWtKA1o7o3li7DDX46rZY8s389 +=Lr4Z -----END PGP SIGNATURE----- diff --git a/dev-lang/xsb/xsb-3.3.7.ebuild b/dev-lang/xsb/xsb-3.3.7.ebuild new file mode 100644 index 000000000000..f0f525d23e19 --- /dev/null +++ b/dev-lang/xsb/xsb-3.3.7.ebuild @@ -0,0 +1,213 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.3.7.ebuild,v 1.1 2015/01/09 15:40:44 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 mysql odbc pcre threads xml" + +RDEPEND="curl? ( net-misc/curl ) + iodbc? ( dev-db/libiodbc ) + java? ( >=virtual/jdk-1.4 ) + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) + pcre? ( dev-libs/libpcre ) + 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 odbc) \ + $(use_with iodbc) \ + $(use_enable threads mt) \ + $(use_enable debug) + + if use curl ; then + cd "${S}"/packages/curl + econf + 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" + emake -j1 sgml || die "emake sgml 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 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 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 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 +} |