Version bump
authorKeri Harris <keri@gentoo.org>
Sat, 22 Oct 2011 21:53:29 +0000 (21:53 +0000)
committerKeri Harris <keri@gentoo.org>
Sat, 22 Oct 2011 21:53:29 +0000 (21:53 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

dev-lang/yap/ChangeLog
dev-lang/yap/Manifest
dev-lang/yap/yap-6.2.2.ebuild [new file with mode: 0644]

index e0e29f35b6ebbf9673958b8e24c7dc6395fdbbea..4e1a4662da488a21ef3b8911649936f7c700ac5f 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/yap
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.57 2011/10/05 06:53:45 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.58 2011/10/22 21:53:29 keri Exp $
+
+*yap-6.2.2 (22 Oct 2011)
+
+  22 Oct 2011; <keri@gentoo.org> +yap-6.2.2.ebuild:
+  Version bump
 
   05 Oct 2011; <keri@gentoo.org> yap-6.2.0-r1.ebuild:
   Do not use internal zlib header handling; this invalidates the need for
index 0f98b87d57e9f1b69cbd8e7d99bfbeb96773820a..9ed0e47413d314e7d9bd53b042d08b3562393983 100644 (file)
@@ -3,13 +3,16 @@ Hash: SHA1
 
 DIST yap-6.2.0-gentoo-patchset-5.tar.gz 8634 RMD160 39f1470e71adeddc5d310597ee9ef28946aa2a3d SHA1 74061482736e87953ad314785cecc89391be390d SHA256 98d4c88da2faf0802ffee5d5b0617ef0410f6acbddde361b2e04e4b5a9e167ef
 DIST yap-6.2.0.tar.gz 4990807 RMD160 af5bb81590105234644dc072f14c37f696e7db2a SHA1 884406c6a6333c796ab19d0f40529918be6cae97 SHA256 47cffa403099062c79e01ad19499fc5b3299c8e7a3c3bd3aadba26c91ae125c4
+DIST yap-6.2.2-gentoo-patchset-0.tar.gz 4586 RMD160 383bbea4b9707256ec1acfe77d2d786003255e0b SHA1 7763025623d1091eb57cba860a89210b056d2eca SHA256 0d46235144c57a4075e236147d58ffbb8884c936bc2e6285a7467f0d743ed146
+DIST yap-6.2.2.tar.gz 5496746 RMD160 116dc877aa4bf5f89ce86127ca17e85691960358 SHA1 db24829a8d196d3ef021992d54ebecd588d81258 SHA256 c9b5feb1ac6488797e8c722053db239cc208f7f6f09135f1e6d5f5802f90878e
 EBUILD yap-6.2.0-r1.ebuild 2632 RMD160 389479129ee9acb9838b399b46c8c97ebd49021d SHA1 3cfde7a4282ffbe8107c21bb7efbfe939e1f6215 SHA256 b98209e995d80d1da19100db8f2398e358cef6a7eb5d9d7277e1d142877d2d60
-MISC ChangeLog 11904 RMD160 e567cd5b639458257f0ff3e0a0d4adc7491f71d5 SHA1 6acde851fe21ec3c2822598e8b97dfb1f433bf8c SHA256 e10c375ac6ba3186edc056787889622f4ef69c3978eb45a95227edf957d5f1bd
+EBUILD yap-6.2.2.ebuild 2632 RMD160 a1291740ffb873809220036f1940ace355c73e58 SHA1 8a7d7af1bc166498c11ccc72b79af42c465aedfd SHA256 d4d5b87d461c74d195e908d503b37db5268d313fc9fd37616f94b3762830b29a
+MISC ChangeLog 11998 RMD160 146c388ce24f1403f854501798cd19fa8b1dce6c SHA1 3286355832feb819b021e64a07998494ff523490 SHA256 652a2e7fb084b735d924fbbda4b9f975722d0a2b4036038198c111c538737354
 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk6L/wQACgkQrwS/tqE49e2m8QCglnaVxytzZxE3qqL5ucx9W2/h
-AmMAn0fu40KMaPfkvyt9TTS9KgLe8NGi
-=1g+C
+iEYEARECAAYFAk6jO2UACgkQrwS/tqE49e2GHQCgkPFYtdr9E3xaZcYj3HUCvHqY
+WhgAnjlhiPIXgYgz8eUmNWj0sSy7HyrQ
+=t2fR
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/yap/yap-6.2.2.ebuild b/dev-lang/yap/yap-6.2.2.ebuild
new file mode 100644 (file)
index 0000000..66970a0
--- /dev/null
@@ -0,0 +1,106 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.2.2.ebuild,v 1.1 2011/10/22 21:53:29 keri Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic java-pkg-opt-2
+
+PATCHSET_VER="0"
+
+DESCRIPTION="YAP is a high-performance Prolog compiler."
+HOMEPAGE="http://www.ncc.up.pt/~vsc/Yap/"
+SRC_URI="http://www.ncc.up.pt/~vsc/Yap/${P}.tar.gz
+       mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc examples gmp java mpi mysql odbc readline static threads"
+
+RDEPEND="sys-libs/zlib
+       gmp? ( dev-libs/gmp )
+       java? ( >=virtual/jdk-1.4 )
+       mpi? ( virtual/mpi )
+       mysql? ( virtual/mysql )
+       odbc? ( dev-db/unixODBC )
+       readline? ( sys-libs/readline )"
+
+DEPEND="${RDEPEND}
+       doc? ( app-text/texi2html )"
+
+S="${WORKDIR}"/${PN}-6.2
+
+src_prepare() {
+       cd "${WORKDIR}"
+       EPATCH_FORCE=yes
+       EPATCH_SUFFIX=patch
+       epatch "${WORKDIR}"/${PV}
+}
+
+src_configure() {
+       append-flags -fno-strict-aliasing
+
+       local myddas_conf
+       if use mysql || use odbc; then
+               myddas_conf="--enable-myddas \
+                               --enable-myddas-stats \
+                               --enable-myddas-top-level"
+       else
+               myddas_conf="--disable-myddas"
+       fi
+
+       econf \
+               --libdir=/usr/$(get_libdir) \
+               $(use_enable !static dynamic-loading) \
+               $(use_enable threads) \
+               $(use_enable threads pthread-locking) \
+               $(use_enable debug debug-yap) \
+               $(use_enable debug low-level-tracer) \
+               $(use_with gmp) \
+               $(use_with readline) \
+               $(use_with mpi) \
+               $(use_with mpi mpe) \
+               $(use_with java) \
+               ${myddas_conf}
+}
+
+src_compile() {
+       emake || die "emake failed"
+
+       if use doc ; then
+               emake html || die "emake html failed"
+       fi
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "make install failed."
+
+       dodoc changes*.html README || die
+
+       if use doc ; then
+               dodoc yap.html || die
+       fi
+
+       if use examples ; then
+               insinto /usr/share/doc/${PF}/examples/chr
+               doins packages/chr/Examples/* || die
+               insinto /usr/share/doc/${PF}/examples/clib
+               doins packages/clib/demo/* || die
+               insinto /usr/share/doc/${PF}/examples/http
+               doins -r packages/http/examples/* || die
+               insinto /usr/share/doc/${PF}/examples/plunit
+               doins packages/plunit/examples/* || die
+               if use java ; then
+                       insinto /usr/share/doc/${PF}/examples/jpl/prolog
+                       doins packages/jpl/examples/prolog/* || die
+                       insinto /usr/share/doc/${PF}/examples/jpl/java
+                       doins packages/jpl/examples/java/README || die
+                       doins -r packages/jpl/examples/java/*/*.{java,pl} || die
+               fi
+               if use mpi ; then
+                       insinto /usr/share/doc/${PF}/examples/mpi
+                       doins library/mpi/examples/*.pl || die
+               fi
+       fi
+}