diff options
author | Keri Harris <keri@gentoo.org> | 2010-10-23 21:39:25 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-10-23 21:39:25 +0000 |
commit | 564f2ccd5118f602206212dbdb637c4f0c50c1a3 (patch) | |
tree | 7c9cc28c509a49bd3765daf18433ff9d717d9fbf /dev-lang | |
parent | Initial commit of live ebuild. Moved from my overlay (diff) | |
download | historical-564f2ccd5118f602206212dbdb637c4f0c50c1a3.tar.gz historical-564f2ccd5118f602206212dbdb637c4f0c50c1a3.tar.bz2 historical-564f2ccd5118f602206212dbdb637c4f0c50c1a3.zip |
Yap client mode is unsupported; accordingly, drop tkyap client
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/yap/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/yap/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/yap/yap-6.2.0-r1.ebuild | 96 |
3 files changed, 104 insertions, 2 deletions
diff --git a/dev-lang/yap/ChangeLog b/dev-lang/yap/ChangeLog index ca3c50ed62ed..786c4dc84995 100644 --- a/dev-lang/yap/ChangeLog +++ b/dev-lang/yap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/yap # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.42 2010/10/23 20:55:08 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.43 2010/10/23 21:39:25 keri Exp $ + +*yap-6.2.0-r1 (23 Oct 2010) + + 23 Oct 2010; <keri@gentoo.org> +yap-6.2.0-r1.ebuild: + Yap client mode is unsupported; accordingly, drop tkyap client 23 Oct 2010; <keri@gentoo.org> yap-6.2.0.ebuild, +files/yap-6.2.0-have-config.patch: diff --git a/dev-lang/yap/Manifest b/dev-lang/yap/Manifest index 65a132e1b846..c80983cb63b9 100644 --- a/dev-lang/yap/Manifest +++ b/dev-lang/yap/Manifest @@ -56,6 +56,7 @@ EBUILD yap-6.0.4.ebuild 2282 RMD160 35eb1455778246bca7ded06d51768ca3fa654855 SHA EBUILD yap-6.0.5-r1.ebuild 2331 RMD160 48b9cda0634b56e4cbf3f9d3f467d5ed06b7c3d1 SHA1 b7cad92f8540ab827240e5c127cac28298876042 SHA256 1eab4cd6e5273a8ffce60bf816840d85df163719cb29a45d472cded395260e2c EBUILD yap-6.0.5.ebuild 2287 RMD160 f4ce34ff3ab33544df90e6d68dc892f0e477b0ee SHA1 cf74f88eda55b569c4d5bc7a5746572013b5cd3d SHA256 bb70ba1c75a56ae607f7d17a108db0c70b79b6bc9245a984228a52812af6c01d EBUILD yap-6.0.6.ebuild 2416 RMD160 22ea3b1c433dfd6f30ad1a3531cf82d0f9e68821 SHA1 2550d92d5403e5ad22cce00b66bb38baec0df9c8 SHA256 8a4917829e7f79113bd713828e97e3ee708f0d46e0b95de7031558fbf179dfb8 +EBUILD yap-6.2.0-r1.ebuild 2285 RMD160 fd2a2d03e7a548529e914bd33e1025425bc9c78b SHA1 0e97f1a8cd7296446fb0924c58e9f65fbad7e865 SHA256 6092b296b361d6851c6fa7a44bc2fc6681cfcde68829eddff592d70e0e1e5227 EBUILD yap-6.2.0.ebuild 2388 RMD160 17b05053b60ebd8214887455bc4a29e9a0c9416c SHA1 ce6158e2c7d85891bbfb4ee7533fc61448ae8952 SHA256 c6d6bf3cc79b7a0572d89988b39827d4c25e5e1edb00b952d3a2dd2870f654a7 -MISC ChangeLog 8126 RMD160 d0df98a1d48ec5e08b548e5911c5d073bb2edbee SHA1 7c4ea17834e2ddbdedd026fbe5b6e86df2c73271 SHA256 ab927e3ffc435b0eb61486948220f3860667ec46e54502c8c5866a9aec60782b +MISC ChangeLog 8276 RMD160 ad90e841bf4cc92babcc594e37970f837ef9b401 SHA1 05a802e60be0336d2b5b620f7ed49080d752c5d4 SHA256 98d005249039c353ace280e44ca2c0c05bc5291907b0915d436f333fd2cc11bf MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba diff --git a/dev-lang/yap/yap-6.2.0-r1.ebuild b/dev-lang/yap/yap-6.2.0-r1.ebuild new file mode 100644 index 000000000000..df9dff15db7e --- /dev/null +++ b/dev-lang/yap/yap-6.2.0-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.2.0-r1.ebuild,v 1.1 2010/10/23 21:39:25 keri Exp $ + +inherit eutils flag-o-matic java-pkg-opt-2 + +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" + +LICENSE="Artistic LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc examples gmp java mpi mysql odbc readline static threads" + +DEPEND="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 ) + doc? ( app-text/texi2html )" + +S="${WORKDIR}"/${PN}-6 + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-yapsharedir.patch + epatch "${FILESDIR}"/${P}-ldflags.patch + epatch "${FILESDIR}"/${P}-have-config.patch + epatch "${FILESDIR}"/${P}-chr-sublist.patch +} + +src_compile() { + 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} \ + || die "econf failed" + + emake || die "emake failed" + + if use doc ; then + emake html || die "emake html failed" + fi +} + +src_install() { + emake DESTDIR="${D}" -j1 install || die "make install failed." + + dodoc changes*.html README + + if use doc ; then + dodoc yap.html + fi + + if use examples ; then + docinto examples/chr + dodoc packages/chr/Examples/*.{chr,pl} + docinto examples/plunit + dodoc packages/plunit/examples/*.pl + if use java ; then + docinto examples/jpl/prolog + dodoc packages/jpl/examples/prolog/*.pl + docinto examples/jpl/java + dodoc packages/jpl/examples/java/*/*.java + fi + if use mpi ; then + docinto examples/mpi + dodoc library/mpi/examples/*.pl + fi + fi +} |