From a1c67137ce649a9f30013a179ba622168443c11e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 31 Jul 2017 11:38:50 +0200 Subject: [PATCH] New package: gambit-4.8.8 --- srcpkgs/gambit/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/gambit/template diff --git a/srcpkgs/gambit/template b/srcpkgs/gambit/template new file mode 100644 index 00000000000..3a1d9e157ea --- /dev/null +++ b/srcpkgs/gambit/template @@ -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 " +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 +}