New package: gerbil-0.15.1
This commit is contained in:
parent
7565b68cd6
commit
28bfcc0f33
3 changed files with 41 additions and 0 deletions
3
srcpkgs/gerbil/files/gerbil.sh
Normal file
3
srcpkgs/gerbil/files/gerbil.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
export GERBIL_GSC=gambit-gsc
|
||||
export GERBIL_HOME=/usr/lib/gerbil
|
||||
|
11
srcpkgs/gerbil/patches/gsc.patch
Normal file
11
srcpkgs/gerbil/patches/gsc.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/build/build0.scm.orig
|
||||
+++ src/build/build0.scm
|
||||
@@ -9,7 +9,7 @@
|
||||
(define (compile modf)
|
||||
(displayln "... compile " modf)
|
||||
(let ((proc (open-process
|
||||
- (list path: "gsc"
|
||||
+ (list path: (getenv "GERBIL_GSC" "gsc")
|
||||
arguments: (list "-cc-options" "--param max-gcse-memory=300000000" modf)
|
||||
stdout-redirection: #f))))
|
||||
(if (not (zero? (process-status proc)))
|
27
srcpkgs/gerbil/template
Normal file
27
srcpkgs/gerbil/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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
|
||||
}
|
Loading…
Reference in a new issue