public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Keri Harris" <keri@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/xsb/
Date: Sun, 24 Sep 2017 09:30:52 +0000 (UTC)	[thread overview]
Message-ID: <1506245419.2b64563b5bf90cef4d029c0335489bf85b297b48.keri@gentoo> (raw)

commit:     2b64563b5bf90cef4d029c0335489bf85b297b48
Author:     Keri Harris <keri <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 09:30:19 2017 +0000
Commit:     Keri Harris <keri <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 09:30:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b64563b

dev-lang/xsb: version bump

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-lang/xsb/Manifest         |   2 +
 dev-lang/xsb/xsb-3.7.0.ebuild | 202 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 204 insertions(+)

diff --git a/dev-lang/xsb/Manifest b/dev-lang/xsb/Manifest
index 7f5cc362f44..578239efd8e 100644
--- a/dev-lang/xsb/Manifest
+++ b/dev-lang/xsb/Manifest
@@ -1,2 +1,4 @@
 DIST XSB360.tar.gz 12842882 SHA256 bb8d2b30e598574e263ddb48b7569e5582953a0c4f8b16d55f6bbf306e9e7faa SHA512 2ac2f4d4c7501479648b7f618815d4cd996969791a617f2148ef7498cf08bacd67eab298136303b6804cb689129ae3365e1490ec693f2232f9c9f1ad515d9c6c WHIRLPOOL 057a1939ff4115c2fc4cd91f10458a4d89847b6394723ea05a4a86d9e7986ee3c03f7ff1b2eff2389ec3c1be7d20b69cdf77be016066cf261b2af131dfbb2176
+DIST XSB370.tar.gz 12322913 SHA256 282936b17ca581e6f546a4cb15687653ad19144897c4776b01a8caf7027ebc6d SHA512 e2c11b0e5fbbffc2fb6d493e39b7dd74de43509ea1c844f1b3e5d1002c116d6fb8b245905b7b512499e40765a6603d4bef883052bdeec4a3078011c305f85a9f WHIRLPOOL 7fad63fbd66e902eaccc5ae1e542787a824d4396df1a49f08b003cada4f424eaf563b0eff693296e7adecb46bfd24931938baf5dde95ad01694dfcdf4b2fb4ef
 DIST xsb-3.6.0-gentoo-patchset-2.tar.gz 7051 SHA256 14fe682df72677e09c9ecaee7a1ef1b0f8f155344789ce90a917bc5a02735947 SHA512 285211c9d1fa52acff707b0ad38f3da06374b8ac187ad66e9148508cbc0ec5c0f60b3e4461705b072510360ce72f81b5d5cfa4bbd1258510e7abfbbe8f0788b0 WHIRLPOOL 5c82f3b268a86b0f5bdbf0a4ffbe755253367d6d84cb24f7c6c2bf216833fb40afe4ca357148c882d57cc754cd75fc1ff7beca3084eeb104a015581e5872b337
+DIST xsb-3.7.0-gentoo-patchset-0.tar.gz 5111 SHA256 cd907853e43ab9a6249511a9313cde4d0c2484ffd35c6fb1f82310fdcd6c7e16 SHA512 6bee94326c99a186b61f4eea62fab4d5d61c3dead65adbf2543249f16febe463e45d23f8b761ef11a276cc29cc3558a592a58c168fcc4265ccdfc83b75dfb4ed WHIRLPOOL 4146000f30cdd8c64bc15521e3ffb086aee43efabce13267191f3191af4f7b33bf10b02c0fdd73d20bffdd02bd0daff2c9f34292eabc963dcfcfbb902bf41dbd

diff --git a/dev-lang/xsb/xsb-3.7.0.ebuild b/dev-lang/xsb/xsb-3.7.0.ebuild
new file mode 100644
index 00000000000..c4e8881e2b0
--- /dev/null
+++ b/dev-lang/xsb/xsb-3.7.0.ebuild
@@ -0,0 +1,202 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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 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
+	if [[ -d "${WORKDIR}"/${PV} ]] ; then
+		epatch "${WORKDIR}"/${PV}
+	fi
+
+	cd "${S}"/build
+	eautoconf
+}
+
+src_configure() {
+	cd "${S}"/build
+
+	econf \
+		--prefix=/usr/$(get_libdir) \
+		--disable-optimization \
+		--without-smodels \
+		$(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 -f *.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"
+		if use xml ; then
+			emake -j1 xpath || die "emake xpath package failed"
+		fi
+	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
+}
+
+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}/clpqr
+	doins clpqr/*.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}/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
+		insinto ${PACKAGES}/curl/cc
+		doins curl/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
+		if use xml ; then
+			insinto ${PACKAGES}/xpath
+			doins xpath/*xwam || die
+			insinto ${PACKAGES}/xpath/cc
+			doins xpath/cc/*.H || die
+		fi
+	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
+
+	cd "${S}"
+	dodoc FAQ README || die
+}


             reply	other threads:[~2017-09-24  9:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-24  9:30 Keri Harris [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-12  9:04 [gentoo-commits] repo/gentoo:master commit in: dev-lang/xsb/ Sam James
2024-07-29  8:55 Arthur Zamarin
2024-07-28 15:52 Arthur Zamarin
2024-07-27  9:08 Arthur Zamarin
2024-05-17  3:56 Sam James
2024-05-17  3:56 Sam James
2024-05-17  3:56 Sam James
2022-09-22  4:09 Sam James
2021-08-06 12:51 Keri Harris
2021-05-15  6:49 Keri Harris
2021-05-10 12:59 Keri Harris
2021-05-10 11:25 Keri Harris
2021-05-08 14:52 Keri Harris
2021-05-02  7:55 Keri Harris
2021-03-13  9:08 Keri Harris
2020-09-26  9:37 Keri Harris
2020-09-12 13:14 Keri Harris
2020-07-20 14:07 Keri Harris
2020-07-18 12:03 Keri Harris
2020-07-18  9:29 Keri Harris
2020-07-17 13:43 Keri Harris
2019-02-08 19:45 Brian Evans
2017-10-03 11:52 Keri Harris
2017-09-30 12:36 Keri Harris
2017-09-27 19:42 Keri Harris
2017-02-25 10:22 Manuel RĂ¼ger
2017-02-16 17:26 Agostino Sarubbo
2017-02-16 17:16 Agostino Sarubbo
2016-02-19 20:51 Keri Harris
2016-02-19 17:18 Keri Harris
2016-02-19 15:54 Keri Harris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506245419.2b64563b5bf90cef4d029c0335489bf85b297b48.keri@gentoo \
    --to=keri@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox