wok view lua/receipt @ rev 3133
Remove bin86. Already exist in dev86
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 20 16:13:00 2009 +0200 (2009-05-20) |
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 }