wok-4.x annotate lua/receipt @ rev 1432
Add: rpm4
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 01 00:00:56 2008 +0200 (2008-10-01) |
parents | 3abd6f2e8a08 |
children | 217ec201c18e |
rev | line source |
---|---|
pankso@634 | 1 # SliTaz package receipt. |
pankso@634 | 2 |
pankso@634 | 3 PACKAGE="lua" |
pankso@634 | 4 VERSION="5.1.3" |
pascal@741 | 5 CATEGORY="development" |
pankso@634 | 6 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." |
pankso@635 | 7 DEPENDS="readline" |
pankso@634 | 8 BUILD_DEPENDS="readline-dev" |
pankso@634 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@634 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@634 | 11 WEB_SITE="http://www.lua.org/" |
pankso@634 | 12 WGET_URL="http://www.lua.org/ftp/$TARBALL" |
pankso@634 | 13 |
pankso@634 | 14 # Rules to configure and make the package. |
pankso@634 | 15 compile_rules() |
pankso@634 | 16 { |
pankso@634 | 17 cd $src |
pankso@634 | 18 make linux |
pankso@634 | 19 } |
pankso@634 | 20 |
pankso@634 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@634 | 22 genpkg_rules() |
pankso@634 | 23 { |
pankso@634 | 24 mkdir -p $fs/usr/bin |
pankso@634 | 25 cp -a $src/src/lua $fs/usr/bin |
pankso@634 | 26 cp -a $src/src/luac $fs/usr/bin |
pankso@634 | 27 } |
pankso@634 | 28 |