2014-08-24 18:45:32 +02:00
|
|
|
# Template file for 'sbcl'
|
|
|
|
pkgname=sbcl
|
2015-04-28 11:54:08 +02:00
|
|
|
version=1.2.11
|
2014-09-06 16:07:22 +02:00
|
|
|
revision=1
|
2014-11-01 15:40:44 +01:00
|
|
|
hostmakedepends="iana-etc"
|
2014-08-25 15:55:18 +02:00
|
|
|
makedepends="zlib-devel"
|
2014-08-25 02:51:44 +02:00
|
|
|
conf_files="/etc/sbclrc"
|
2014-08-24 18:45:32 +02:00
|
|
|
short_desc="Steel Bank Common Lisp"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="custom"
|
|
|
|
homepage="http://www.sbcl.org/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-source.tar.bz2"
|
2015-04-28 11:54:08 +02:00
|
|
|
checksum=88aa04dae72d011f5c22084a35201188d8a02f0cd82e5de542aa4ce6bfaa3e70
|
2014-08-24 18:45:32 +02:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2014-11-01 15:40:44 +01:00
|
|
|
x86_64*)
|
|
|
|
distfiles+=" ${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-x86-64-linux-binary.tar.bz2"
|
2015-04-28 11:54:08 +02:00
|
|
|
checksum+=" bb5b5315ad120a57041891988900f560fd0467a28e8dee939d5b1472c8ad111e"
|
2014-11-01 15:40:44 +01:00
|
|
|
;;
|
|
|
|
i686*)
|
2015-03-01 15:28:59 +01:00
|
|
|
distfiles+=" ${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-1.2.7-x86-linux-binary.tar.bz2"
|
|
|
|
checksum+=" 724425fe0d28747c7d31c6655e39fa8c27f9ef4608c482ecc60089bcc85fc31d"
|
2014-11-01 15:40:44 +01:00
|
|
|
;;
|
|
|
|
arm*)
|
2015-03-01 15:28:59 +01:00
|
|
|
distfiles+=" ${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-1.2.7-armhf-linux-binary.tar.bz2"
|
|
|
|
checksum+=" 5e75a328882b739befcf5c38e8039b830668a8ca7bafe56a9e13ef23f39eb253"
|
2014-11-01 15:40:44 +01:00
|
|
|
;;
|
2014-08-24 18:45:32 +02:00
|
|
|
esac
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
|
|
|
|
export LINKFLAGS="$LDFLAGS"
|
|
|
|
bash make.sh \
|
|
|
|
"bash ../sbcl-*-linux/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
|
|
|
--without-sb-test --with-sb-core-compression --prefix=/usr
|
|
|
|
make -C doc/manual info
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
SBCL_HOME="" INSTALL_ROOT="$DESTDIR/usr" sh install.sh
|
|
|
|
vlicense COPYING LICENSE
|
2014-08-25 02:51:44 +02:00
|
|
|
vconf ${FILESDIR}/sbclrc
|
|
|
|
}
|
|
|
|
|
|
|
|
sbcl-source_package() {
|
|
|
|
noarch=yes
|
2014-11-01 15:40:44 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" -- source files"
|
|
|
|
pkg_install() {
|
2014-08-25 02:51:44 +02:00
|
|
|
cd $wrksrc
|
|
|
|
./clean.sh
|
|
|
|
vmkdir usr/lib/sbcl
|
|
|
|
vcopy src usr/lib/sbcl
|
2014-11-01 15:40:44 +01:00
|
|
|
}
|
2014-08-24 18:45:32 +02:00
|
|
|
}
|