wok-4.x view lua/receipt @ rev 12341

Added Equinox GTK Engine and its themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 02:03:44 2012 +0000 (2012-10-16)
parents d04823a784db
children
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 }