wok diff lua/receipt @ rev 24007
Up zstd (1.4.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 29 15:34:50 2021 +0000 (2021-01-29) |
parents | 805d0bebfba2 |
children | ede1d184d5c5 |
line diff
1.1 --- a/lua/receipt Sun Mar 02 13:49:46 2014 +0100 1.2 +++ b/lua/receipt Fri Jan 29 15:34:50 2021 +0000 1.3 @@ -1,35 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lua" 1.7 -VERSION="5.2.1" 1.8 +VERSION="5.2.4" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://www.lua.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.lua.org/" 1.17 -WGET_URL="http://www.lua.org/ftp/$TARBALL" 1.18 +WGET_URL="https://www.lua.org/ftp/$TARBALL" 1.19 + 1.20 +DEPENDS="libtic ncurses readline" 1.21 +BUILD_DEPENDS="libtic ncurses-dev readline-dev" 1.22 + 1.23 HOST_ARCH="i486 arm" 1.24 1.25 -DEPENDS="readline ncurses" 1.26 -BUILD_DEPENDS="readline-dev" 1.27 - 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 sed -i "s#/usr/local/#/usr/#" src/luaconf.h 1.32 + 1.33 case "$ARCH" in 1.34 arm) 1.35 make CC=${HOST_SYSTEM}-gcc posix ;; 1.36 i486) 1.37 sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile 1.38 - make linux ;; 1.39 + make linux MYLIBS=/lib/libtic.so ;; 1.40 esac && 1.41 + 1.42 # lua.pc 1.43 make pc > lua.pc && 1.44 sed -i "s#/local##g" lua.pc && 1.45 - make install \ 1.46 - INSTALL_TOP=$DESTDIR/usr \ 1.47 + make install \ 1.48 + INSTALL_TOP=$DESTDIR/usr \ 1.49 INSTALL_MAN=$DESTDIR/usr/share/man/man1 1.50 } 1.51 1.52 @@ -37,7 +41,7 @@ 1.53 genpkg_rules() 1.54 { 1.55 mkdir -p $fs/usr/bin 1.56 - cp -a $install/usr/bin $fs/usr 1.57 + cp -a $install/usr/bin $fs/usr 1.58 } 1.59 1.60 testsuite()