wok-6.x view lua/receipt @ rev 7614
Add xorg-xf86-input-vmmouse.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 11 21:50:13 2010 +0000 (2010-12-11) |
parents | 217ec201c18e |
children | 2161c145d5b3 |
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#INSTALL_TOP= /usr/local#INSTALL_TOP=$pkg/usr#" Makefile
20 sed -i "s#/usr/local/#/usr/#" src/luaconf.h
21 make linux
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/src/lua $fs/usr/bin
29 cp -a $src/src/luac $fs/usr/bin
30 }