wok-current annotate lua/receipt @ rev 2458

pcmanfm: update build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 10:07:15 2009 +0000 (2009-03-14)
parents 5fb27e4bf774
children d04823a784db
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."
pankso@635 7 DEPENDS="readline"
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