summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2009-06-27 05:20:36 +0000
committerKeri Harris <keri@gentoo.org>2009-06-27 05:20:36 +0000
commit7050fa30750e347dbc83529db062ab32d01da9cc (patch)
tree0d4cd702a2752c4137160d03a15d58c32dcb8a90 /dev-lang/xsb
parentAdd a virtual for the 2.0 MPI spec. Also add deps for packages needing c++ or... (diff)
downloadhistorical-7050fa30750e347dbc83529db062ab32d01da9cc.tar.gz
historical-7050fa30750e347dbc83529db062ab32d01da9cc.tar.bz2
historical-7050fa30750e347dbc83529db062ab32d01da9cc.zip
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/xsb')
-rw-r--r--dev-lang/xsb/ChangeLog7
-rw-r--r--dev-lang/xsb/Manifest5
-rw-r--r--dev-lang/xsb/xsb-3.2.ebuild194
3 files changed, 204 insertions, 2 deletions
diff --git a/dev-lang/xsb/ChangeLog b/dev-lang/xsb/ChangeLog
index bcf89b673ef5..6a0b33ee92b7 100644
--- a/dev-lang/xsb/ChangeLog
+++ b/dev-lang/xsb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/xsb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.17 2009/02/28 21:45:39 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.18 2009/06/27 05:20:36 keri Exp $
+
+*xsb-3.2 (27 Jun 2009)
+
+ 27 Jun 2009; <keri@gentoo.org> +xsb-3.2.ebuild:
+ Version bump
28 Feb 2009; <keri@gentoo.org> xsb-3.0.1.ebuild, xsb-3.1.ebuild:
Add RDEPEND
diff --git a/dev-lang/xsb/Manifest b/dev-lang/xsb/Manifest
index 924414cfd4e9..4a21d356ae0f 100644
--- a/dev-lang/xsb/Manifest
+++ b/dev-lang/xsb/Manifest
@@ -16,9 +16,12 @@ AUX xsb-3.0.1-wildmatch.patch 532 RMD160 8d16da2c33c0820d56fa3d823d3fa5858c7a64a
AUX xsb-3.0.1-xpath.patch 2359 RMD160 42b5292e58a312c197d8c33f14be8fe40737d5d7 SHA1 6a68816d12a1eb2b342ec2c157ba9c6392b759df SHA256 193028c21f02942dceed056736a911cbe6bbc763ea4bb26fab09c30232b2377d
AUX xsb-3.0.1-xsb-script.patch 1544 RMD160 4edc54d803e07cfff9d6fc70270e12dcfbb67bb7 SHA1 378b38b661adc472b221c06ff90a92561efcd899 SHA256 47d3e6033491cca86f5585c5d1f4c3078b3321eab6f7e6c608b396c6f3851196
DIST XSB-unix.tar.gz 5773347 RMD160 78e31e7b26bf5f219c3f6b01a0c65b7de86c7e83 SHA1 97ff6361725cb26f25c0a72465af87583992910e SHA256 b584a19dff06d8834795d8f26c1a97c5adfdcc678c3f7b2978591495f8a14051
+DIST XSB.tar.gz 10808490 RMD160 66b4e79f9b47cd5db9f3f8b718929181f7f6c401 SHA1 3563a3ba4b469016697d704e65e5b17a75200710 SHA256 db190bc045a475e24a8ca305b6a77cf0a84c61ebaade1fadef09d13b7c4ee024
DIST xsb-3.0.1-src.tar.gz 4523327 RMD160 6f71401ad3cc9031ec0ced16df7d9dfd594b3fb2 SHA1 8cbef419913731617ec8811dd69799406119b9ff SHA256 05e2a76befe6303ff624c8a22543444604a75815eae276e065e462a1d21ae801
DIST xsb-3.1-gentoo-patchset-0.tar.gz 21394 RMD160 6a58fe5c11fce6620e6e453962c786d9e0b720d5 SHA1 df45cabc3deb6e27b4c4558109a5a9dc74d6e232 SHA256 a9435b13478e88763d659e75ce96f7ccebbcfe72fc78abcbe13bf2d2d9c92cf0
+DIST xsb-3.2-gentoo-patchset-0.tar.gz 20512 RMD160 e03dac277203af8ef06851e09e7e2638f1c152b9 SHA1 dae180d0725ea4d221cd3e13c7b334fb9eb1fcce SHA256 a0a5f10e796aca7f5aa137f53333d97eb0869f39baf303577af78582a360e47b
EBUILD xsb-3.0.1.ebuild 4622 RMD160 db8406a82cbbb5368d177a077df18e51cb7f56b2 SHA1 dc41686c5b1b53b9b9c96878ddcc3a9148a8411c SHA256 5c571e7b92811901c05a4dcffce94496116b40eeab68403299edf463a8cba695
EBUILD xsb-3.1.ebuild 4136 RMD160 f6fdda4ded403f234f1a6338dbfaec43f664e938 SHA1 ba3c85a1a57b3afc301ff0b690e76f9909c699e8 SHA256 e794a19724b24a699f21174d970a62de1d2bb1921c26aab145892c06a6dddc3c
-MISC ChangeLog 3571 RMD160 d52471eaee3a911ff3edc02e5eabbbd2cf8f045b SHA1 29331f717b2ab2e172bb1db71c486713628eb9fe SHA256 9ac1e510366663459c7947b573297ca060faf33ac5eddc56dced1077863f0bc4
+EBUILD xsb-3.2.ebuild 4079 RMD160 1c62373b4ca04d440d506ae908abef3f59c6d940 SHA1 228dcbcfb9af994093f8e4d3581a516e523f747c SHA256 5151ddc4b8aea9f3d2db35ea677ef56e1986ec1a6a97e0f0a8455441aa56f215
+MISC ChangeLog 3661 RMD160 0aadde90a73e233a84c1821cb44ddbed2e053921 SHA1 74cd05f881b4bb6d38b96df17203b09c45b09bb8 SHA256 aa3f43d4b07b87e232f3ebebb25edec79bad72cdd4ce47580f6e5300c8419e48
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
diff --git a/dev-lang/xsb/xsb-3.2.ebuild b/dev-lang/xsb/xsb-3.2.ebuild
new file mode 100644
index 000000000000..cf692e1f7b71
--- /dev/null
+++ b/dev-lang/xsb/xsb-3.2.ebuild
@@ -0,0 +1,194 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.2.ebuild,v 1.1 2009/06/27 05:20:36 keri Exp $
+
+MY_P="XSB"
+
+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="mirror://sourceforge/xsb/${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 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 \
+ --disable-optimization \
+ --without-smodels \
+ --with-config-tag="" \
+ $(use_with java interprolog) \
+ $(use_with odbc) \
+ $(use_with iodbc) \
+ $(use_enable threads mt) \
+ $(use_enable debug) \
+ $(use_enable debug debug-verbose) \
+ $(use_enable debug profile) \
+ || die "econf failed"
+ emake -j1 || die "emake failed"
+
+ if use libwww ; then
+ cd "${S}"/packages/libwww
+ econf --with-libwww=/usr || die "econf libwww package failed"
+ fi
+
+ if use mysql ; then
+ cd "${S}"/packages/dbdrivers/mysql
+ econf || die "econf mysql package failed"
+ fi
+
+ if use odbc ; then
+ cd "${S}"/packages/dbdrivers/odbc
+ econf || die "econf odbc package failed"
+ fi
+
+ if use xml ; then
+ cd "${S}"/packages/xpath
+ econf || die "econf xpath package failed"
+ fi
+
+ 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
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dosym /usr/lib/xsb/bin/xsb /usr/bin/xsb
+
+ cd "${S}"/packages
+ local PACKAGES=/usr/lib/xsb/packages
+ insinto ${PACKAGES}
+ doins *.xwam
+
+ insinto ${PACKAGES}/chr
+ doins chr/*.xwam
+
+ insinto ${PACKAGES}/chr_d
+ doins chr_d/*.xwam
+
+ insinto ${PACKAGES}/gap
+ doins gap/*.xwam
+
+ insinto ${PACKAGES}/justify
+ doins justify/*.xwam
+ doins justify/*.H
+
+ insinto ${PACKAGES}/regmatch
+ doins regmatch/*.xwam
+ insinto ${PACKAGES}/regmatch/cc
+ doins regmatch/cc/*.H
+
+ insinto ${PACKAGES}/sgml
+ doins sgml/*.xwam
+ insinto ${PACKAGES}/sgml/cc
+ doins sgml/cc/*.H
+ insinto ${PACKAGES}/sgml/cc/dtd
+ doins sgml/cc/dtd/*
+
+ insinto ${PACKAGES}/slx
+ doins slx/*.xwam
+
+ insinto ${PACKAGES}/wildmatch
+ doins wildmatch/*.xwam
+ insinto ${PACKAGES}/wildmatch/cc
+ doins wildmatch/cc/*.H
+
+ if use libwww ; then
+ insinto ${PACKAGES}/libwww
+ doins libwww/*.xwam
+ insinto ${PACKAGES}/libwww/cc
+ doins libwww/cc/*.H
+ fi
+
+ if use mysql || use odbc ; then
+ insinto ${PACKAGES}/dbdrivers
+ doins dbdrivers/*.xwam
+ doins dbdrivers/*.H
+ insinto ${PACKAGES}/dbdrivers/cc
+ doins dbdrivers/cc/*.H
+ if use mysql ; then
+ insinto ${PACKAGES}/dbdrivers/mysql
+ doins dbdrivers/mysql/*.xwam
+ insinto ${PACKAGES}/dbdrivers/mysql/cc
+ doins dbdrivers/mysql/cc/*.H
+ fi
+ if use odbc ; then
+ insinto ${PACKAGES}/dbdrivers/odbc
+ doins dbdrivers/odbc/*.xwam
+ insinto ${PACKAGES}/dbdrivers/odbc/cc
+ doins dbdrivers/odbc/cc/*.H
+ fi
+ fi
+
+ if use perl ; then
+ insinto ${PACKAGES}/perlmatch
+ doins perlmatch/*.xwam
+ insinto ${PACKAGES}/perlmatch/cc
+ doins perlmatch/cc/*.H
+ fi
+
+ if use xml ; then
+ insinto ${PACKAGES}/xpath
+ doins xpath/*xwam
+ insinto ${PACKAGES}/xpath/cc
+ doins xpath/cc/*.H
+ fi
+
+ cd "${S}"
+ dodoc FAQ README
+}