void-packages/srcpkgs/chibi-scheme/template
2021-05-11 22:15:55 +02:00

33 lines
929 B
Bash

# Template file for 'chibi-scheme'
pkgname=chibi-scheme
version=0.10
revision=1
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
short_desc="Small Footprint R7RS Scheme for use as a C Extension Language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="http://synthcode.com/scheme/chibi/"
distfiles="https://github.com/ashinn/chibi-scheme/archive/${version}.tar.gz"
checksum=ae1d2057138b7f438f01bfb1e072799105faeea1de0ab3cc10860adf373993b3
alternatives="
scheme:scheme:/usr/bin/chibi-scheme
scheme:scheme.1:/usr/share/man/man1/chibi-scheme.1
"
disable_parallel_build=yes
nocross=yes
post_install() {
vlicense COPYING
}
chibi-scheme-devel_package() {
depends="chibi-scheme>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/chibi-ffi
vmove usr/share/man/man1/chibi-ffi.1
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}