wok-current annotate lua/receipt @ rev 12500
Up: xorg-dri2proto and xorg-evieext
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 18:18:12 2012 +0200 (2012-04-24) |
parents | d04823a784db |
children | 0769826c3fc4 |
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#/usr/local/#/usr/#" src/luaconf.h |
pankso@10835 | 20 sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile |
pankso@10835 | 21 make linux && |
pankso@10835 | 22 make install \ |
pankso@10835 | 23 INSTALL_TOP=$DESTDIR/usr \ |
pankso@10835 | 24 INSTALL_MAN=$DESTDIR/usr/share/man/man1 |
pankso@634 | 25 } |
pankso@634 | 26 |
pankso@634 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@634 | 28 genpkg_rules() |
pankso@634 | 29 { |
pankso@634 | 30 mkdir -p $fs/usr/bin |
pankso@10835 | 31 cp -a $install/usr/bin $fs/usr |
pankso@634 | 32 } |