void-packages/srcpkgs/chicken/template

40 lines
951 B
Plaintext
Raw Normal View History

2011-12-21 20:46:55 +01:00
# Template file for 'chicken'
pkgname=chicken
2013-10-05 08:54:03 +02:00
version=4.8.0.5
2014-02-18 15:58:14 +01:00
revision=2
2011-12-21 20:46:55 +01:00
short_desc="A practical and portable Scheme system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.call-cc.org"
2013-07-19 08:58:57 +02:00
distfiles="http://code.call-cc.org/releases/${version%.*}/$pkgname-$version.tar.gz"
2013-10-05 08:54:03 +02:00
checksum=5b9192951bc61cc19dd4963cceb93908bff46b6868d7927f19850e8973c430fb
2011-12-21 20:46:55 +01:00
2013-07-19 08:58:57 +02:00
# No ARM support??!!!
only_for_archs="i686 x86_64"
2011-12-21 20:46:55 +01:00
2013-07-19 08:58:57 +02: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 20:46:55 +01:00
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libchicken_package() {
2013-07-19 08:58:57 +02:00
short_desc+=" - runtime library"
pkg_install() {
2013-07-19 08:58:57 +02:00
vmove "usr/lib/*.so.*"
}
}
chicken-devel_package() {
2014-02-18 15:58:14 +01:00
depends="libchicken>=${version}_${revision}"
2013-07-19 08:58:57 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-07-19 08:58:57 +02:00
vmove "usr/lib/*.so"
}
}