wok rev 21381

updated lua5.1 and lua5.1-dev (5.1.4 -> 5.1.5)
author Hans-G?nter Theisgen
date Mon Apr 22 11:00:16 2019 +0100 (2019-04-22)
parents a5e3dd4b5d74
children 54a89157f006
files lua5.1-dev/receipt lua5.1/receipt
line diff
     1.1 --- a/lua5.1-dev/receipt	Mon Apr 22 10:30:32 2019 +0100
     1.2 +++ b/lua5.1-dev/receipt	Mon Apr 22 11:00:16 2019 +0100
     1.3 @@ -1,22 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lua5.1-dev"
     1.7 -VERSION="5.1.4"
     1.8 +VERSION="5.1.5"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Lua devel files."
    1.11 -WANTED="lua5.1"
    1.12 +SHORT_DESC="Lua 5.1 development files."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -WEB_SITE="http://www.lua.org/"
    1.16 +WEB_SITE="https://www.lua.org/"
    1.17  
    1.18  DEPENDS="pkg-config lua5.1"
    1.19 +WANTED="lua5.1"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1
    1.27 -	ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a
    1.28 -	cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc
    1.29 +	mkdir -p $fs/usr/lib/pkgconfig
    1.30 +	mkdir -p $fs/usr/lib/lua/5.1
    1.31 +
    1.32 +	cp -a $install/usr/include		$fs/usr
    1.33 +	cp -a $install/usr/lib/lua/5.1/liblua.a	$fs/usr/lib/lua/5.1
    1.34 +	ln -s liblua.a				$fs/usr/lib/lua/5.1/liblua5.1.a
    1.35 +	cp -a $src/etc/lua.pc			$fs/usr/lib/pkgconfig/lua5.1.pc
    1.36  }
     2.1 --- a/lua5.1/receipt	Mon Apr 22 10:30:32 2019 +0100
     2.2 +++ b/lua5.1/receipt	Mon Apr 22 11:00:16 2019 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lua5.1"
     2.7 -VERSION="5.1.4"
     2.8 -SOURCE="lua"
     2.9 +VERSION="5.1.5"
    2.10  CATEGORY="development"
    2.11  SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="MIT"
    2.14 +WEB_SITE="https://www.lua.org/"
    2.15 +
    2.16 +SOURCE="lua"
    2.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.lua.org/"
    2.19 -WGET_URL="http://www.lua.org/ftp/$TARBALL"
    2.20 +WGET_URL="https://www.lua.org/ftp/$TARBALL"
    2.21  
    2.22  DEPENDS="readline ncurses"
    2.23  BUILD_DEPENDS="readline-dev"
    2.24 @@ -17,7 +18,6 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29  	patch -p0 < $stuff/lua5.1-paths.patch || exit 1
    2.30  	sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
    2.31  	sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc
    2.32 @@ -25,16 +25,19 @@
    2.33  	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
    2.34  	sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h
    2.35  	sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
    2.36 +
    2.37  	make linux &&
    2.38 -	make install \
    2.39 -		INSTALL_TOP=$DESTDIR/usr \
    2.40 +	make install				\
    2.41 +		INSTALL_TOP=$DESTDIR/usr	\
    2.42  		INSTALL_MAN=$DESTDIR/usr/share/man/man1
    2.43  }
    2.44  
    2.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.46  genpkg_rules()
    2.47  {
    2.48 -	mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1
    2.49 -	cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1
    2.50 -	cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1
    2.51 +	mkdir -p $fs/usr/bin
    2.52 +	mkdir -p $fs/usr/lib/lua/5.1
    2.53 +
    2.54 +	cp -a $install/usr/bin/lua	$fs/usr/bin/lua5.1
    2.55 +	cp -a $install/usr/bin/luac	$fs/usr/bin/luac5.1
    2.56  }