summaryrefslogtreecommitdiffstats
path: root/slang/Pkgfile
blob: d2a7298db4edc27b2fb491e1626c51e80c2becec (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
# 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:
# Run on: 

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


build() {
	unset MAKEFLAGS
	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
}