Add dev-scheme/skint
This commit is contained in:
parent
5ec8959f18
commit
7de6ec3456
3 changed files with 53 additions and 0 deletions
1
dev-scheme/skint/Manifest
Normal file
1
dev-scheme/skint/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST skint-0.6.8.tar.gz 965484 BLAKE2B 5b74d0db89bdac359f0d50d2898da8a36015b5afb6c8af24ab6554931473cecb9c8da2fdb0f8d57b1b39351bd316e4590ff3cde48e13e9ea4014d8081bcfb555 SHA512 dd27c0de27bc41689536cd2f7c618b4f566d3306ec098b5f3fcaeb0e905ad407e51b03b20abefde0e978cc2a71f600a9bef25a1fca22917fc47e5aa1b382f555
|
||||
40
dev-scheme/skint/skint-0.6.8.ebuild
Normal file
40
dev-scheme/skint/skint-0.6.8.ebuild
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Cheap and fast R7RS Scheme interpreter"
|
||||
HOMEPAGE="https://github.com/false-schemers/skint"
|
||||
SRC_URI="https://github.com/false-schemers/skint/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+srfi"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
src_prepare() {
|
||||
sed '/INSTALL/s/-s//g' # Don't strip
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
true # The configure script is useless
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
PREFIX="/usr" \
|
||||
LIBROOT="/usr/lib/${PN}" \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -DNDEBUG -DNAN_BOXING -DLIBDIR=/usr/lib/${PN}/lib" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/usr" install
|
||||
if use srfi; then
|
||||
emake LIBROOT="${D}/usr/lib/${PN}" libinstall
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue