summaryrefslogtreecommitdiffstats
path: root/extra/slang/Pkgfile
blob: 977190bb6bc535603794b2b43d04ffed74b3b447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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: popt, libpng, pcre

name=slang
version=2.1.4
release=1
source=( ftp://space.mit.edu/pub/davis/$name/v2.1/$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.2.1.4 \
             $PKG/usr/lib/slang/v2/modules/*.so
}