2017-07-31 09:38:50 +00:00
|
|
|
# Template file for 'gambit'
|
|
|
|
pkgname=gambit
|
2018-02-27 06:21:34 +00:00
|
|
|
version=4.8.9
|
2018-04-23 14:56:35 +00:00
|
|
|
revision=2
|
2017-07-31 09:38:50 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="
|
|
|
|
--libdir=/usr/lib/gambit --docdir=/usr/share/doc/gambit
|
|
|
|
--enable-compiler-name=gambit-gsc
|
|
|
|
--enable-shared --disable-absolute-shared-libs --enable-versioned-shared-libs
|
|
|
|
--enable-single-host --enable-gcc-opts --enable-openssl"
|
|
|
|
makedepends="libressl-devel"
|
|
|
|
short_desc="Complete, portable, efficient and reliable implementation of Scheme"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="LGPL-2.1,Apache-2.0"
|
|
|
|
homepage="http://gambitscheme.org/"
|
|
|
|
distfiles="https://github.com/gambit/gambit/archive/v${version}.tar.gz"
|
2018-02-27 13:13:51 +00:00
|
|
|
checksum=b6310fc7c91e222e6dda2a511bc25dcec9acf769f6dc3b32630dad4d305e7900
|
2017-07-31 09:38:50 +00:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) CFLAGS="-DNETDB_INTERNAL=-1 -DNETDB_SUCCESS=0";;
|
|
|
|
esac
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
for f in ${DESTDIR}/usr/lib/gambit/lib*.so.*; do
|
|
|
|
ln -sfr $f ${DESTDIR}/usr/lib
|
|
|
|
done
|
2017-07-31 14:33:10 +00:00
|
|
|
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/gambcomp-C
|
2017-07-31 09:38:50 +00:00
|
|
|
}
|