wok-4.x view lua/receipt @ rev 12070
transmission: fix bdeps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 03:35:40 2012 +0100 (2012-03-09) |
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 }