summaryrefslogtreecommitdiffstats
path: root/base/guile/Pkgfile
blob: 16beab9c33a10041d7978d479a9ac1834b8061ed (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
# Description: Contient le projet GNU's extension language library
# URL: http://www.gnu.org/software/guile/guile.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=guile
version=1.8.7
release=1
source=( http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/guile-gcc-4.5.0-doc-1.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../guile-gcc-4.5.0-doc-1.patch
	sed -i -e '20,$ d' \
       	-e 's|slib)|&)\n(load-from-path "slib/guile.init")|' \
    	ice-9/slib.scm
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
        rm $PKG/usr/share/info/dir
}