2011-12-21 20:46:55 +01:00
|
|
|
# Template file for 'chicken'
|
|
|
|
pkgname=chicken
|
2013-07-19 08:58:57 +02:00
|
|
|
version=4.8.0.4
|
|
|
|
revision=1
|
2011-12-21 20:46:55 +01:00
|
|
|
short_desc="A practical and portable Scheme system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2013-04-12 08:55:23 +02:00
|
|
|
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"
|
|
|
|
checksum=cd6c4b05f76a6ac82ff32e8dbd53f7517a283bda32003c6b3baa0c6b24990fb2
|
2011-12-21 20:46:55 +01:00
|
|
|
long_desc="
|
|
|
|
CHICKEN is a compiler for the Scheme programming language. CHICKEN produces
|
|
|
|
portable, efficient C, supports almost all of the R5RS Scheme language
|
|
|
|
standard, and includes many enhancements and extensions. CHICKEN runs on
|
|
|
|
Linux, MacOS X, Windows, and many Unix flavours."
|
|
|
|
|
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}
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
libchicken_package() {
|
2013-07-19 08:58:57 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2013-07-19 08:58:57 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
chicken-devel_package() {
|
|
|
|
depends="libchicken>=${version}"
|
2013-07-19 08:58:57 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-19 08:58:57 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
chicken_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|