# HG changeset patch # User Hans-G?nter Theisgen # Date 1558170949 -3600 # Node ID 2514d4060d32efb5421362e1604c4bdb6dbd7032 # Parent 8e3182b59a9cac612cd3a567f6982284b6fcc293 updated lua and lua-dev (5.2.1 -> 5.2.4) diff -r 8e3182b59a9c -r 2514d4060d32 lua-dev/receipt --- a/lua-dev/receipt Fri May 17 15:57:08 2019 +0100 +++ b/lua-dev/receipt Sat May 18 10:15:49 2019 +0100 @@ -1,22 +1,26 @@ # SliTaz package receipt. PACKAGE="lua-dev" -VERSION="5.2.1" +VERSION="5.2.4" CATEGORY="development" -SHORT_DESC="Lua devel files." -WANTED="lua" +SHORT_DESC="Lua development files." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.lua.org/" -HOST_ARCH="i486 arm" + +WEB_SITE="https://www.lua.org/" DEPENDS="pkg-config lua" +WANTED="lua" + +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/pkgconfig $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/liblua.a $fs/usr/lib - cp -a $stuff/lua.pc $fs/usr/lib/pkgconfig + mkdir -p $fs/usr/lib/pkgconfig + mkdir -p $fs/usr + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/liblua.a $fs/usr/lib + cp -a $stuff/lua.pc $fs/usr/lib/pkgconfig } diff -r 8e3182b59a9c -r 2514d4060d32 lua/receipt --- a/lua/receipt Fri May 17 15:57:08 2019 +0100 +++ b/lua/receipt Sat May 18 10:15:49 2019 +0100 @@ -1,35 +1,39 @@ # SliTaz package receipt. PACKAGE="lua" -VERSION="5.2.1" +VERSION="5.2.4" CATEGORY="development" SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="https://www.lua.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.lua.org/" -WGET_URL="http://www.lua.org/ftp/$TARBALL" +WGET_URL="https://www.lua.org/ftp/$TARBALL" + +DEPENDS="libtic ncurses readline" +BUILD_DEPENDS="libtic ncurses-dev readline-dev" + HOST_ARCH="i486 arm" -DEPENDS="readline ncurses" -BUILD_DEPENDS="readline-dev" - # Rules to configure and make the package. compile_rules() { sed -i "s#/usr/local/#/usr/#" src/luaconf.h + case "$ARCH" in arm) make CC=${HOST_SYSTEM}-gcc posix ;; i486) sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile - make linux ;; + make linux MYLIBS=/lib/libtic.so ;; esac && + # lua.pc make pc > lua.pc && sed -i "s#/local##g" lua.pc && - make install \ - INSTALL_TOP=$DESTDIR/usr \ + make install \ + INSTALL_TOP=$DESTDIR/usr \ INSTALL_MAN=$DESTDIR/usr/share/man/man1 } @@ -37,7 +41,7 @@ genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $install/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr } testsuite()