void-packages/srcpkgs/gerbil/template
2021-03-05 21:05:10 +01:00

26 lines
795 B
Bash

# Template file for 'gerbil'
pkgname=gerbil
version=0.16
revision=3
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=1157d4ef60dab6a0f7c4986d5c938391973045093c470a03ffe02266c4d3e119
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.el 0644 usr/share/emacs/site-lisp
}