summaryrefslogtreecommitdiffstats
path: root/extra/slib/Pkgfile
blob: 3cc5540271e71b6a12aac89046363b09138a0015 (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
28
# 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

name=slib
version=3a5
release=1
source=( http://groups.csail.mit.edu/mac/ftpdir/scm/OLD//$name$version.tar.gz\
         slibcat)

#         http://www.linuxfromscratch.org/patches/blfs/svn/slib-3a4-guile_fixes-1.patch\

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/
}