wok-4.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="lua"
4 VERSION="5.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
7 DEPENDS="readline"
8 BUILD_DEPENDS="readline-dev"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lua.org/"
12 WGET_URL="http://www.lua.org/ftp/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make linux
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $src/src/lua $fs/usr/bin
26 cp -a $src/src/luac $fs/usr/bin
27 }