35 lines
969 B
Bash
35 lines
969 B
Bash
# Template file for 'gerbil'
|
|
pkgname=gerbil
|
|
version=0.17
|
|
revision=3
|
|
build_style="gnu-configure"
|
|
hostmakedepends="gambit rsync"
|
|
makedepends="openssl-devel sqlite-devel zlib-devel"
|
|
short_desc="Opinionated dialect of Scheme designed for Systems Programming"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-or-later, Apache-2.0"
|
|
homepage="https://cons.io/"
|
|
distfiles="https://github.com/vyzo/gerbil/archive/v${version}.tar.gz"
|
|
checksum=1e81265aba7e9022432649eb26b2e5c85a2bb631a315e4fa840b14cf336b2483
|
|
nocross="yes"
|
|
|
|
do_build() {
|
|
export GERBIL_GSC=gambit-gsc
|
|
( cd src && ./build.sh )
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
vmkdir usr/lib/gerbil
|
|
cp -a bin ${DESTDIR}/usr
|
|
cp -a lib ${DESTDIR}/usr/lib/gerbil
|
|
vinstall ${FILESDIR}/gerbil.sh 0644 etc/profile.d
|
|
vinstall etc/gerbil-mode.el 0644 usr/share/emacs/site-lisp
|
|
find ${DESTDIR} -name .keep -delete
|
|
}
|
|
|
|
do_check() {
|
|
GERBIL_GSC=gambit-gsc GERBIL_HOME=$PWD PATH=$PWD/bin:$PATH \
|
|
./src/std/run-tests.ss
|
|
}
|