New package: gambit-4.8.8

This commit is contained in:
Leah Neukirchen 2017-07-31 11:38:50 +02:00
parent ee169f3b9c
commit a1c67137ce

27
srcpkgs/gambit/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'gambit'
pkgname=gambit
version=4.8.8
revision=1
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"
checksum=daf7154fc76efd0ff9b861cdcc770136b07c44241ab60b791339962e43453648
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
}