2011-12-21 20:46:55 +01:00
|
|
|
# Template file for 'chicken'
|
|
|
|
pkgname=chicken
|
|
|
|
version=4.7.0
|
2013-04-12 08:55:23 +02:00
|
|
|
revision=2
|
2011-12-21 20:46:55 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_args="PREFIX=/usr PLATFORM=linux"
|
|
|
|
make_install_args="PREFIX=/usr PLATFORM=linux"
|
|
|
|
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"
|
|
|
|
distfiles="http://code.call-cc.org/releases/$version/$pkgname-$version.tar.gz"
|
2011-12-21 20:46:55 +01:00
|
|
|
checksum=56afdbff812febe3f98ae437716ecaa96115732f21db5063ce413e4c7449a26c
|
|
|
|
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."
|
|
|
|
|
|
|
|
disable_parallel_build=yes
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
libchicken_package() {
|
|
|
|
short_desc="${short_desc} - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
chicken-devel_package() {
|
|
|
|
depends="libchicken>=${version}"
|
|
|
|
short_desc="Chiken development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
chicken_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|