summaryrefslogtreecommitdiffstats
path: root/base/slang/Pkgfile
blob: 7c0db7ddcdcbf4d2bc1d15cd54123ac9d77ec73f (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 la librairie S-Lang
# URL:  http://gd.tuwien.ac.at/editors/davis/slang
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libpng, pcre

name=slang
version=2.2.2
release=1
source=( ftp://space.mit.edu/pub/davis/$name/v2.2/$name-$version.tar.bz2)


build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	chmod -v 755 $PKG/usr/lib/libslang.so.$version \
             $PKG/usr/lib/slang/v2/modules/*.so
	rm -r $PKG/usr/share/doc
}