void-packages/srcpkgs/gerbil/template

28 lines
817 B
Bash
Raw Normal View History

2019-08-04 17:47:12 +02:00
# Template file for 'gerbil'
pkgname=gerbil
version=0.15.1
revision=1
hostmakedepends="gambit rsync"
makedepends="libressl-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=3d29eecdaa845b073bf8413cd54e420b3f48c79c25e43fab5a379dde029d0cde
conflicts="gxi>=0"
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
}