wok-6.x annotate lua/receipt @ rev 4365
mirage: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Oct 10 23:09:05 2009 +0000 (2009-10-10) |
parents | 217ec201c18e |
children | 2161c145d5b3 |
rev | line source |
---|---|
pankso@634 | 1 # SliTaz package receipt. |
pankso@634 | 2 |
pankso@634 | 3 PACKAGE="lua" |
pascal@2058 | 4 VERSION="5.1.4" |
pascal@741 | 5 CATEGORY="development" |
pankso@634 | 6 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." |
pascal@2474 | 7 DEPENDS="readline ncurses" |
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 |
pascal@2058 | 18 sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc |
pascal@2058 | 19 sed -i "s#INSTALL_TOP= /usr/local#INSTALL_TOP=$pkg/usr#" Makefile |
pascal@2058 | 20 sed -i "s#/usr/local/#/usr/#" src/luaconf.h |
pankso@634 | 21 make linux |
pankso@634 | 22 } |
pankso@634 | 23 |
pankso@634 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@634 | 25 genpkg_rules() |
pankso@634 | 26 { |
pankso@634 | 27 mkdir -p $fs/usr/bin |
pankso@634 | 28 cp -a $src/src/lua $fs/usr/bin |
pankso@634 | 29 cp -a $src/src/luac $fs/usr/bin |
pankso@634 | 30 } |
pankso@634 | 31 |