wok-stable diff slang/receipt @ rev 759
Up: tazpkg (2.1) with Tazpkgbox (GUI)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 09 17:37:37 2008 +0200 (2008-05-09) |
parents | |
children | a075ff895254 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slang/receipt Fri May 09 17:37:37 2008 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slang" 1.7 +VERSION="2.1.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="S-Lang library" 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.s-lang.org/index.html" 1.14 +WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.1/$TARBALL 1.15 + ftp://space.mit.edu/pub/davis/slang/v2.1/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.22 + make && \ 1.23 + make elf && \ 1.24 + make static 1.25 + make DESTDIR=$PWD/_pkg install install-static 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + cp -a $_pkg/usr/lib $fs/usr 1.34 + strip -s $fs/usr/bin/* 1.35 +} 1.36 +