wok-6.x annotate slang/receipt @ rev 9636
Add: firefox-langpack-pt-BR
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Apr 26 17:10:47 2011 +0000 (2011-04-26) |
parents | df78a21d6e40 |
children | 619b5a7a7712 |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
slaxemulator@8541 | 4 VERSION="2.2.3" |
erjo@506 | 5 CATEGORY="development" |
erjo@506 | 6 SHORT_DESC="S-Lang library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pankso@3364 | 8 DEPENDS="pcre libpng zlib" |
erjo@506 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@506 | 10 WEB_SITE="http://www.s-lang.org/index.html" |
devl547@5519 | 11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL |
devl547@5519 | 12 ftp://space.mit.edu/pub/davis/slang/v2.2/$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 |
pascal@2441 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@8541 | 19 make -j1 && \ |
slaxemulator@8541 | 20 make -j1 elf && \ |
slaxemulator@8541 | 21 make -j1 static && |
slaxemulator@8541 | 22 make -j1 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 } |
erjo@506 | 32 |