void-packages/srcpkgs/chicken/template
2014-06-03 17:51:55 +02:00

39 lines
946 B
Text

# Template file for 'chicken'
pkgname=chicken
version=4.9.0
revision=1
short_desc="A practical and portable Scheme system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.call-cc.org"
distfiles="http://code.call-cc.org/releases/${version}/$pkgname-$version.tar.gz"
checksum=2f2abe1829971c83a6b7e8f58f8aaeb76b3728e2679d99b0f840433af2564a22
# No ARM support??!!!
only_for_archs="i686 x86_64"
do_build() {
make C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" PREFIX=/usr PLATFORM=linux
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR PLATFORM=linux install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libchicken_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
chicken-devel_package() {
depends="libchicken>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}