Skip to content

Commit

Permalink
dev-scheme/stklos: update to EAPI 8
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/423823
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <[email protected]>
  • Loading branch information
hattya committed Nov 27, 2021
1 parent f0d31d5 commit 9d703f4
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 35 deletions.
35 changes: 0 additions & 35 deletions dev-scheme/stklos/stklos-1.10-r1.ebuild

This file was deleted.

49 changes: 49 additions & 0 deletions dev-scheme/stklos/stklos-1.10-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

DESCRIPTION="fast and light Scheme implementation"
HOMEPAGE="https://www.stklos.net/"
SRC_URI="https://www.${PN}.net/download/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="threads"

RDEPEND="dev-libs/boehm-gc[threads?]
dev-libs/gmp:=
dev-libs/libffi:=
dev-libs/libpcre"
DEPEND="${RDEPEND}"

DOCS=( AUTHORS ChangeLog NEWS PACKAGES-USED PORTING-NOTES README SUPPORTED-SRFIS )

src_prepare() {
rm -rf {ffi,gc,gmp,pcre}

default
}

src_configure() {
econf \
--enable-threads=$(usex threads pthreads none) \
--without-gmp-light \
--without-provided-ffi \
--without-provided-gc \
--without-provided-regexp
}

src_compile() {
emake -j1
}

src_test() {
emake -j1 check
}

src_install() {
default
einstalldocs
}

0 comments on commit 9d703f4

Please sign in to comment.