summaryrefslogtreecommitdiffstats
path: root/extra/slib/Pkgfile
blob: fbba875953a3ca91caf6b325bc090662fe550c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description: portable library for the Scheme programming language
# URL: http://groups.csail.mit.edu/
# Maintainer: NuTyX core team 
# Packager: thierryn1 at hispeed dot ch
# Depends on: aspell, texinfo

name=slib
version=3a5
release=1
source=( http://groups.csail.mit.edu/mac/ftpdir/scm/OLD//$name$version.tar.gz\
         http://www.linuxfromscratch.org/patches/blfs/svn/slib-3a4-guile_fixes-1.patch\
         slibcat)


build() {
	cd $name
        sed -i 's|usr/lib|usr/share|' {RScheme,guile}.init
        mkdir -p $PKG/usr/share/{man,info,guile}
        ln -s ../slib $PKG/usr/share/guile
	make    prefix=$PKG/usr/ \
                libdir=$PKG/usr/share/ \
		mandir=$PKG/usr/share/man/ \
		infodir=$PKG/usr/share/info/ \
	         install installinfo
        rm $PKG/usr/share/info/dir
        mv ../slibcat $PKG/usr/share/guile/
}