# HG changeset patch # User Hans-G?nter Theisgen # Date 1555927216 -3600 # Node ID 2838a5093750d87062d8b2b71611680869b9b6db # Parent a5e3dd4b5d74e254be0669a8c057e7398a58d41b updated lua5.1 and lua5.1-dev (5.1.4 -> 5.1.5) diff -r a5e3dd4b5d74 -r 2838a5093750 lua5.1-dev/receipt --- a/lua5.1-dev/receipt Mon Apr 22 10:30:32 2019 +0100 +++ b/lua5.1-dev/receipt Mon Apr 22 11:00:16 2019 +0100 @@ -1,22 +1,24 @@ # SliTaz package receipt. PACKAGE="lua5.1-dev" -VERSION="5.1.4" +VERSION="5.1.5" CATEGORY="development" -SHORT_DESC="Lua devel files." -WANTED="lua5.1" +SHORT_DESC="Lua 5.1 development files." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.lua.org/" +WEB_SITE="https://www.lua.org/" DEPENDS="pkg-config lua5.1" +WANTED="lua5.1" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1 - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 - ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a - cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc + mkdir -p $fs/usr/lib/pkgconfig + mkdir -p $fs/usr/lib/lua/5.1 + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 + ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a + cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc } diff -r a5e3dd4b5d74 -r 2838a5093750 lua5.1/receipt --- a/lua5.1/receipt Mon Apr 22 10:30:32 2019 +0100 +++ b/lua5.1/receipt Mon Apr 22 11:00:16 2019 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="lua5.1" -VERSION="5.1.4" -SOURCE="lua" +VERSION="5.1.5" CATEGORY="development" SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="https://www.lua.org/" + +SOURCE="lua" TARBALL="$SOURCE-$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="readline ncurses" BUILD_DEPENDS="readline-dev" @@ -17,7 +18,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src patch -p0 < $stuff/lua5.1-paths.patch || exit 1 sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc @@ -25,16 +25,19 @@ sed -i "s#/usr/local/#/usr/#" src/luaconf.h sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile + make linux && - make install \ - INSTALL_TOP=$DESTDIR/usr \ + make install \ + INSTALL_TOP=$DESTDIR/usr \ INSTALL_MAN=$DESTDIR/usr/share/man/man1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1 - cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1 - cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1 + mkdir -p $fs/usr/bin + mkdir -p $fs/usr/lib/lua/5.1 + + cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1 + cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1 }