diff --git a/srcpkgs/gerbil/template b/srcpkgs/gerbil/template index 50f63094019..791d80d7e89 100644 --- a/srcpkgs/gerbil/template +++ b/srcpkgs/gerbil/template @@ -1,7 +1,7 @@ # Template file for 'gerbil' pkgname=gerbil version=0.17 -revision=1 +revision=2 build_style="gnu-configure" hostmakedepends="gambit rsync" makedepends="openssl-devel sqlite-devel zlib-devel" @@ -17,6 +17,7 @@ do_build() { export GERBIL_GSC=gambit-gsc ( cd src && ./build.sh ) } + do_install() { vmkdir usr/bin vmkdir usr/lib/gerbil @@ -26,3 +27,8 @@ do_install() { 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 +}