diff options
author | Keri Harris <keri@gentoo.org> | 2006-04-19 06:45:18 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-04-19 06:45:18 +0000 |
commit | f06a8b0bc84b1af40acd64b0b00c6c8f9e32ca52 (patch) | |
tree | adc539dc93c2f5c4797764ea619f88063eee3553 /dev-lang/swi-prolog | |
parent | update to newer patchset release (diff) | |
download | gentoo-2-f06a8b0bc84b1af40acd64b0b00c6c8f9e32ca52.tar.gz gentoo-2-f06a8b0bc84b1af40acd64b0b00c6c8f9e32ca52.tar.bz2 gentoo-2-f06a8b0bc84b1af40acd64b0b00c6c8f9e32ca52.zip |
Version bump.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/swi-prolog/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/digest-swi-prolog-5.6.12 | 3 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild | 128 |
4 files changed, 143 insertions, 1 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index d33114fb2479..a529a00637c5 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2006/04/14 01:59:14 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.6 2006/04/19 06:45:16 keri Exp $ + +*swi-prolog-5.6.12 (19 Apr 2006) + + 19 Apr 2006; Keri Harris <keri@gentoo.org> +swi-prolog-5.6.12.ebuild: + Version bump. *swi-prolog-5.6.11 (14 Apr 2006) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 29093535464e..104bef2a2399 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -7,6 +7,9 @@ SHA256 0a92c81e592d36bcb5b28639f64d38b2d8bf828a0bf40452deef5feb0c4b57c0 files/di MD5 a37c5ea238c4a130beebe7f2a3af02f6 files/digest-swi-prolog-5.6.11 235 RMD160 53a4dfc74642b91eef148e4c3fa5ad38aa4ee07c files/digest-swi-prolog-5.6.11 235 SHA256 19d0f2c888781243fd1962848e9b3e32675b9c1cd5fafbbb14d4a00e7cc5b2d3 files/digest-swi-prolog-5.6.11 235 +MD5 7bbb7d1dd23d72e8f0ada2da5357977a files/digest-swi-prolog-5.6.12 235 +RMD160 303b65488963e62217ef3030f9477ade11d743a5 files/digest-swi-prolog-5.6.12 235 +SHA256 717d3f09514b5b0fd3d8b26d39658501c7dab5d28eae9b374d7b5ff090639ca9 files/digest-swi-prolog-5.6.12 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 @@ -49,6 +52,9 @@ SHA256 7601871b303277cda7ca8dd95d41b0538f532350174f57c04a61645370df482a swi-prol MD5 8eb9c65e4b56c7c510ef9cf9a9ae8847 swi-prolog-5.6.11.ebuild 3293 RMD160 762884a3c7bb5e877f76a675193fd04b19c9460e swi-prolog-5.6.11.ebuild 3293 SHA256 5f52a1f9807b0734c3a407368859a788dce388f3ed3b9719a151c7d320b20ad2 swi-prolog-5.6.11.ebuild 3293 +MD5 cde001d3d8f2c0c6fcded63273ecde6b swi-prolog-5.6.12.ebuild 3189 +RMD160 c91e15b6b844866d7a5cec0876e6faa434949940 swi-prolog-5.6.12.ebuild 3189 +SHA256 8fcc30de536553642e0c2a087b38e168b0a776d3a9ea9453caf084fc88bc985c swi-prolog-5.6.12.ebuild 3189 MD5 11c2fab69d1f4c2c4d2f72644a17180f swi-prolog-5.6.8.ebuild 3289 RMD160 98b901c9299dc7ebf30abb8f5ffd3a715e3c2332 swi-prolog-5.6.8.ebuild 3289 SHA256 dad5b9e422d16414545478591fa6792964ad1a83c91593e9ad0628f744cf207e swi-prolog-5.6.8.ebuild 3289 diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.12 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.12 new file mode 100644 index 000000000000..6df7e241df93 --- /dev/null +++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.12 @@ -0,0 +1,3 @@ +MD5 ba25b23284b0ea6563c060e666500e1f pl-5.6.12.tar.gz 10320538 +RMD160 ea023f5603453fa10b8b332844023957272fab54 pl-5.6.12.tar.gz 10320538 +SHA256 f80478a6f265ead533bcd046bfb3ba17206c946b0453daa6de8d8d4b9b8e2618 pl-5.6.12.tar.gz 10320538 diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild new file mode 100644 index 000000000000..dacf9c7ae4c3 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild @@ -0,0 +1,128 @@ +# 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.12.ebuild,v 1.1 2006/04/19 06:45:18 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="~amd64 ~ppc ~x86" +IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X" + +DEPEND="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}-test.patch + + if ! use minimal ; then + epatch "${FILESDIR}"/${PN}-packages-portage.patch + epatch "${FILESDIR}"/${PN}-packages-cppproxy.patch + epatch "${FILESDIR}"/${PN}-packages-db-db4.patch + epatch "${FILESDIR}"/${PN}-packages-jpl-arch.patch + epatch "${FILESDIR}"/${PN}-packages-ltx2htm.patch + epatch "${FILESDIR}"/${PN}-packages-test-r1.patch + fi +} + +src_compile() { + append-flags -fno-strict-aliasing + + einfo "Building SWI-Prolog compiler" + cd "${S}"/src + econf \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable !static shared) \ + $(use_enable threads mt) \ + --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 \ + $(use_enable !static shared) \ + $(use_enable threads mt) \ + --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 +} |