mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-lang/xsb: drop 3.8.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
committed by
Arthur Zamarin
parent
4ca22663f0
commit
cddfe6ee51
@@ -1,4 +1,2 @@
|
||||
DIST XSB-4-0-0.tar.gz 15340635 BLAKE2B 4832185a64c6c5786ae78e111c25cd3a5ffc2f80aec9c0c83f030ead482868c77b0d7abbfdf0d113b56fea395eb7e69ca2970a82ea70004fb78c0bf4de258a9d SHA512 fed1e0db4874db2508e0c1e716be20cbfbc4f7ed4c16e0b220750cfb3dfceb78bbdce0f8564b68c400af1bc2b8f9e3b35014e8849bba1705bddfab824f41e816
|
||||
DIST XSB38.tar.gz 13830570 BLAKE2B 60a6ab38435348d09e2d08bc65ca62c06b38495b72f40a6f3f10fe8d23949bfed0c580c9be0c8304d8a88a53b227bb695870b558d67f33a47543de6c1529180f SHA512 457c691450afcf3ed4e2fffc28deaef0949ef4bbf6fd69b504acc6507fbb144f2c6e427a25da2b6346b15b82e803c02d1b6962af698d16c1fcb9a3d56160ea30
|
||||
DIST xsb-3.8.0-gentoo-patchset-5.tar.gz 7748 BLAKE2B 291beb7a2bf567708119eb200e06fd0d6ac976b5eaea9646d9b5fe9fe67908e01f48b1e55e36fc98f7fe75ee4b654422bc0f9c565e00ac75fe36cccd0439bc2b SHA512 cd3762545bb0b0c5532607741f5946658cacf062c21913c8261988a2162ab848d860ae5a0d11d7a4b8b36994f7fbc91c6e6b4fa607e8cc6ebed434dbf421dec1
|
||||
DIST xsb-4.0.0-gentoo-patchset-3.tar.gz 10487 BLAKE2B 37253b8e5bfd36cdf51f231e75215ea31d50f121e3c8b1126adfbc8998622f2a4ebdb976b3c67c13738095fd4b23b35e166a895c4ee038b1cae7ad962684ce86 SHA512 51738e5dd64711f42e5c8d831c955c533dbe900a129cc0e7eb5d393ef13d7b6206e5e9fc0e90b1422adb2d8c00ec870a50164d420a02da23770ba0ad3350b10b
|
||||
|
||||
@@ -1,198 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PATCHSET_VER="5"
|
||||
|
||||
inherit 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/XSB38.tar.gz
|
||||
https://dev.gentoo.org/~keri/distfiles/xsb/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="curl debug iodbc java mysql odbc pcre threads xml"
|
||||
|
||||
RDEPEND="curl? ( net-misc/curl )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
mysql? ( dev-db/mysql-connector-c:0= )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/XSB
|
||||
|
||||
PATCHES=( "${WORKDIR}/${PV}" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cd "${S}"/build
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
econf \
|
||||
--prefix=/usr/$(get_libdir) \
|
||||
--disable-optimization \
|
||||
--disable-ccmpl \
|
||||
--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
|
||||
|
||||
default
|
||||
|
||||
# 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
|
||||
|
||||
if use curl ; then
|
||||
emake -j1 curl
|
||||
emake -j1 sgml
|
||||
if use xml ; then
|
||||
emake -j1 xpath
|
||||
fi
|
||||
fi
|
||||
|
||||
if use mysql ; then
|
||||
emake -j1 mysql
|
||||
fi
|
||||
|
||||
if use odbc ; then
|
||||
emake -j1 odbc
|
||||
fi
|
||||
|
||||
if use pcre ; then
|
||||
emake -j1 pcre
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/build
|
||||
default
|
||||
|
||||
local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV}
|
||||
dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb
|
||||
|
||||
cd "${S}"/packages
|
||||
local PACKAGES=${XSB_INSTALL_DIR}/packages
|
||||
insinto ${PACKAGES}
|
||||
doins *.xwam
|
||||
|
||||
insinto ${PACKAGES}/chr
|
||||
doins chr/*.xwam
|
||||
|
||||
insinto ${PACKAGES}/clpqr
|
||||
doins clpqr/*.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}/slx
|
||||
doins slx/*.xwam
|
||||
|
||||
insinto ${PACKAGES}/wildmatch
|
||||
doins wildmatch/*.xwam
|
||||
insinto ${PACKAGES}/wildmatch/cc
|
||||
doins wildmatch/cc/*.H
|
||||
|
||||
if use curl ; then
|
||||
insinto ${PACKAGES}/curl
|
||||
doins curl/*.xwam
|
||||
insinto ${PACKAGES}/curl/cc
|
||||
doins curl/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/*
|
||||
if use xml ; then
|
||||
insinto ${PACKAGES}/xpath
|
||||
doins xpath/*xwam
|
||||
insinto ${PACKAGES}/xpath/cc
|
||||
doins xpath/cc/*.H
|
||||
fi
|
||||
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 pcre ; then
|
||||
insinto ${PACKAGES}/pcre
|
||||
doins pcre/*.xwam
|
||||
insinto ${PACKAGES}/pcre/cc
|
||||
doins pcre/cc/*.H
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
dodoc FAQ README
|
||||
}
|
||||
Reference in New Issue
Block a user