wok-current view lua5.4/receipt @ rev 25786

Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 29 18:05:13 2025 +0000 (2 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lua5.4"
4 SOURCE="lua"
5 VERSION="5.4.2"
6 CATEGORY="development"
7 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
8 DEPENDS="readline ncurses"
9 BUILD_DEPENDS="readline-dev"
10 MAINTAINER="shann@slitaz.org"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.lua.org"
13 WGET_URL="$WEB_SITE/ftp/$TARBALL"
14 HOST_ARCH="i486 x86_64"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i "s#/usr/local/#/usr/#" src/luaconf.h
21 sed -i "s/-O2/-Os -march=nocona/" src/Makefile
22 make linux MYLIBS=/lib/libtic.so
24 # lua.pc
25 make pc > lua.pc &&
26 sed -i "s#/local##g" lua.pc &&
27 make install \
28 INSTALL_TOP=$DESTDIR/usr \
29 INSTALL_MAN=$DESTDIR/usr/share/man/man1
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/usr/bin $fs/usr
37 }