wok-6.x view lua/receipt @ rev 10775
yaff: need to follow slitaz-dev-tools version (and so taged repos to include baba-scripts files)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 00:20:33 2011 +0200 (2011-06-01) |
parents | 217ec201c18e |
children | 2161c145d5b3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua"
4 VERSION="5.1.4"
5 CATEGORY="development"
6 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
7 DEPENDS="readline ncurses"
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 sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
19 sed -i "s#INSTALL_TOP= /usr/local#INSTALL_TOP=$pkg/usr#" Makefile
20 sed -i "s#/usr/local/#/usr/#" src/luaconf.h
21 make linux
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/src/lua $fs/usr/bin
29 cp -a $src/src/luac $fs/usr/bin
30 }