wok-6.x view lua/receipt @ rev 18847
midori-video: remove gst-plugins-bad from depends
most used codecs are inside gst-ffmpeg-0.10.13
most used codecs are inside gst-ffmpeg-0.10.13
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jan 23 11:28:22 2016 +0100 (2016-01-23) |
parents | 2a5cc8208d36 |
children | 2514d4060d32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua"
4 VERSION="5.2.1"
5 CATEGORY="development"
6 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lua.org/"
11 WGET_URL="http://www.lua.org/ftp/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="readline ncurses"
15 BUILD_DEPENDS="readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "s#/usr/local/#/usr/#" src/luaconf.h
21 case "$ARCH" in
22 arm)
23 make CC=${HOST_SYSTEM}-gcc posix ;;
24 i486)
25 sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
26 make linux ;;
27 esac &&
28 # lua.pc
29 make pc > lua.pc &&
30 sed -i "s#/local##g" lua.pc &&
31 make install \
32 INSTALL_TOP=$DESTDIR/usr \
33 INSTALL_MAN=$DESTDIR/usr/share/man/man1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $install/usr/bin $fs/usr
41 }
43 testsuite()
44 {
45 readelf -h $install/usr/bin/lua
46 }