wok-6.x view lua/receipt @ rev 10838

Add the Matchbox desktop/panel/wm
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:21:26 2011 +0200 (2011-06-08)
parents d04823a784db
children 0769826c3fc4
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#/usr/local/#/usr/#" src/luaconf.h
20 sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
21 make linux &&
22 make install \
23 INSTALL_TOP=$DESTDIR/usr \
24 INSTALL_MAN=$DESTDIR/usr/share/man/man1
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin $fs/usr
32 }