dev-scheme: stklos up to date in ::gentoo
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
b1ec979ae2
commit
017dcb95bc
@ -1 +0,0 @@
|
|||||||
DIST stklos-1.60.tar.gz 7897321 BLAKE2B 51d632f4936366c2217da16c6bca04b836438f73a42bc80e0c07ce541d82c60dfeca8dc596642b349cc73857f0c03f998e2d11e948204c054af0fd2fce74efd6 SHA512 b74736180b9daba55d1ea4a9aa06adb05b5e45b807a3b13de7105e56a37a0a98a19f4645fc4494ccd51954336e40f06fa6d5e0651f89bee19d00e411ddd96298
|
|
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>xgqt@riseup.net</email>
|
|
||||||
<name>Maciej Barć</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
STklos is a free Scheme system supporting most of the languages
|
|
||||||
features defined in R5RS. The aim of this implementation is to
|
|
||||||
be fast as well as light. The implementation is based on an ad-hoc
|
|
||||||
Virtual Machine. STklos can also be compiled as a library and
|
|
||||||
embedded in an application.
|
|
||||||
</longdescription>
|
|
||||||
<upstream>
|
|
||||||
<bugs-to>https://github.com/egallesio/STklos</bugs-to>
|
|
||||||
<remote-id type="github">egallesio/STklos</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="Fast and light R7RS Scheme implementation"
|
|
||||||
HOMEPAGE="https://stklos.net/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/egallesio/STklos.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/egallesio/STklos/archive/refs/tags/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/STklos-${P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="threads"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/gmp:=
|
|
||||||
dev-libs/libpcre
|
|
||||||
dev-libs/libffi
|
|
||||||
dev-libs/boehm-gc[threads?]
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS ChangeLog HACKING.md
|
|
||||||
NEWS.md PACKAGES-USED PORTING-NOTES.md
|
|
||||||
README.md SUPPORTED-SRFIS
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
unset STKLOS_CONFDIR
|
|
||||||
|
|
||||||
# remove bundled libs
|
|
||||||
rm -rf "${S}"/{ffi,gc,gmp,pcre} || die
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--enable-threads=$(usex threads pthreads none)
|
|
||||||
--without-gmp-light
|
|
||||||
--without-provided-ffi
|
|
||||||
--without-provided-gc
|
|
||||||
--without-provided-regexp
|
|
||||||
)
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" install-base-no-strip install-data-recursive
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="Fast and light R7RS Scheme implementation"
|
|
||||||
HOMEPAGE="https://stklos.net/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/egallesio/STklos.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/egallesio/STklos/archive/refs/tags/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/STklos-${P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="threads"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/gmp:=
|
|
||||||
dev-libs/libpcre
|
|
||||||
dev-libs/libffi
|
|
||||||
dev-libs/boehm-gc[threads?]
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS ChangeLog HACKING.md
|
|
||||||
NEWS.md PACKAGES-USED PORTING-NOTES.md
|
|
||||||
README.md SUPPORTED-SRFIS
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
unset STKLOS_CONFDIR
|
|
||||||
|
|
||||||
# remove bundled libs
|
|
||||||
rm -rf "${S}"/{ffi,gc,gmp,pcre} || die
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--enable-threads=$(usex threads pthreads none)
|
|
||||||
--without-gmp-light
|
|
||||||
--without-provided-ffi
|
|
||||||
--without-provided-gc
|
|
||||||
--without-provided-regexp
|
|
||||||
)
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" install-base-no-strip install-data-recursive
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user