wok-4.x annotate slang/receipt @ rev 1594
gtk-gnutella: use a well known version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 17 13:33:56 2008 +0000 (2008-10-17) |
parents | 7f41c348fb5d |
children | 0d71947173a7 |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
erjo@506 | 4 VERSION="2.1.3" |
erjo@506 | 5 CATEGORY="development" |
erjo@506 | 6 SHORT_DESC="S-Lang library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@506 | 8 DEPENDS="" |
erjo@506 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@506 | 10 WEB_SITE="http://www.s-lang.org/index.html" |
erjo@506 | 11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.1/$TARBALL |
erjo@506 | 12 ftp://space.mit.edu/pub/davis/slang/v2.1/$TARBALL" |
erjo@506 | 13 |
erjo@506 | 14 # Rules to configure and make the package. |
erjo@506 | 15 compile_rules() |
erjo@506 | 16 { |
erjo@506 | 17 cd $src |
erjo@506 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS |
erjo@506 | 19 make && \ |
erjo@506 | 20 make elf && \ |
erjo@506 | 21 make static |
erjo@506 | 22 make DESTDIR=$PWD/_pkg install install-static |
erjo@506 | 23 } |
erjo@506 | 24 |
erjo@506 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 26 genpkg_rules() |
erjo@506 | 27 { |
erjo@506 | 28 mkdir -p $fs/usr |
erjo@506 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@506 | 30 cp -a $_pkg/usr/lib $fs/usr |
erjo@506 | 31 strip -s $fs/usr/bin/* |
erjo@506 | 32 } |
erjo@506 | 33 |