summaryrefslogtreecommitdiffstats
path: root/base/slib/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-01 21:06:25 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-01 21:06:25 +0100
commit5949e3e436e09f703e9fa3bb9aeaad852d360d47 (patch)
tree1ab2717bd7a0711cbf91a225b77f1d00a2d3b379 /base/slib/Pkgfile
parent86d4f9610afca1ababb81ae4dff1f591aeab3d25 (diff)
downloadnutyx-extra-5949e3e436e09f703e9fa3bb9aeaad852d360d47.tar.gz
nutyx-extra-5949e3e436e09f703e9fa3bb9aeaad852d360d47.tar.bz2
nutyx-extra-5949e3e436e09f703e9fa3bb9aeaad852d360d47.tar.xz
nutyx-extra-5949e3e436e09f703e9fa3bb9aeaad852d360d47.zip
slib dans base et maj 3b2-1
Diffstat (limited to 'base/slib/Pkgfile')
-rwxr-xr-xbase/slib/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/base/slib/Pkgfile b/base/slib/Pkgfile
new file mode 100755
index 000000000..deac3eecb
--- /dev/null
+++ b/base/slib/Pkgfile
@@ -0,0 +1,30 @@
+# Description: portable library for the Scheme programming language
+# URL: http://groups.csail.mit.edu/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=slib
+version=3b2
+release=1
+source=( http://groups.csail.mit.edu/mac/ftpdir/scm/OLD/$name-$version.tar.gz )
+
+build() {
+ cd $name
+ sed -r -i "s,/usr/(local/)?lib/slib,/usr/share/slib,g" *.init
+ install -m755 -d $PKG/usr/{bin,share/{slib,man/man1,info,guile/site}}
+ install -m644 *.scm *.init *.xyz *.txt *.dat *.ps $PKG/usr/share/slib
+ install -m644 slib.info $PKG/usr/share/info/
+ cat > $PKG/usr/bin/slib << EOF
+#!/bin/sh
+SCHEME_LIBRARY_PATH=/usr/share/slib/
+export SCHEME_LIBRARY_PATH
+VERSION=${pkgver}
+S48_VICINITY="/usr/share/scheme48/"
+export S48_VICINITY
+EOF
+ cat slib.sh >> $PKG/usr/bin/slib
+ chmod 755 $PKG/usr/bin/slib
+ install -m644 slib.1 $PKG/usr/share/man/man1/
+ ln -s /usr/share/slib $PKG/usr/share/guile/site/
+}
+