diff options
Diffstat (limited to 'base/slang/Pkgfile')
-rwxr-xr-x | base/slang/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/base/slang/Pkgfile b/base/slang/Pkgfile new file mode 100755 index 000000000..7c0db7ddc --- /dev/null +++ b/base/slang/Pkgfile @@ -0,0 +1,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 +} |