wok-stable annotate slang/receipt @ rev 11603
Up rrdtool (1.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 19 08:39:06 2012 +0100 (2012-01-19) |
parents | 9f2655ff38ef |
children |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
slaxemulator@10198 | 4 VERSION="2.2.4" |
erjo@506 | 5 CATEGORY="development" |
erjo@506 | 6 SHORT_DESC="S-Lang library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@506 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@506 | 9 WEB_SITE="http://www.s-lang.org/index.html" |
devl547@5519 | 10 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL |
devl547@5519 | 11 ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL" |
erjo@506 | 12 |
erjo@9950 | 13 DEPENDS="pcre libpng zlib" |
erjo@9950 | 14 |
erjo@506 | 15 # Rules to configure and make the package. |
erjo@506 | 16 compile_rules() |
erjo@506 | 17 { |
erjo@506 | 18 cd $src |
slaxemulator@11035 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@8541 | 20 make -j1 && \ |
slaxemulator@8541 | 21 make -j1 elf && \ |
slaxemulator@8541 | 22 make -j1 static && |
erjo@9950 | 23 make -j1 DESTDIR=$DESTDIR install install-static |
erjo@506 | 24 } |
erjo@506 | 25 |
erjo@506 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 27 genpkg_rules() |
erjo@506 | 28 { |
erjo@9950 | 29 mkdir -p $fs/usr/lib |
erjo@506 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@9950 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@9972 | 32 cp -a $_pkg/usr/lib/slang $fs/usr/lib |
erjo@506 | 33 } |
erjo@506 | 34 |