void-packages/srcpkgs/chicken/template

40 lines
976 B
Bash
Raw Normal View History

2011-12-21 19:46:55 +00:00
# Template file for 'chicken'
pkgname=chicken
2014-06-12 07:46:42 +00:00
version=4.9.0.1
2015-07-02 07:09:52 +00:00
revision=2
2011-12-21 19:46:55 +00:00
short_desc="A practical and portable Scheme system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-12-21 19:46:55 +00:00
license="BSD"
homepage="http://www.call-cc.org"
2014-06-12 07:46:42 +00:00
distfiles="http://code.call-cc.org/releases/${version%.*}/$pkgname-$version.tar.gz"
checksum=04df7c439c36fc16446bdfa186e7a70258f911d2d826b5216a8e6b1cb2aa2815
2011-12-21 19:46:55 +00:00
2013-07-19 06:58:57 +00:00
# No ARM support??!!!
2015-07-02 07:09:52 +00:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
2011-12-21 19:46:55 +00:00
2013-07-19 06:58:57 +00:00
do_build() {
make C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" PREFIX=/usr PLATFORM=linux
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR PLATFORM=linux install
2011-12-21 19:46:55 +00:00
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libchicken_package() {
2013-07-19 06:58:57 +00:00
short_desc+=" - runtime library"
pkg_install() {
2013-07-19 06:58:57 +00:00
vmove "usr/lib/*.so.*"
}
}
chicken-devel_package() {
2014-02-18 14:58:14 +00:00
depends="libchicken>=${version}_${revision}"
2013-07-19 06:58:57 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-07-19 06:58:57 +00:00
vmove "usr/lib/*.so"
}
}