wok-6.x diff lua5.1/receipt @ rev 21845

updated rox packages (2.8 -> 2.11)
author Hans-G?nter Theisgen
date Sun Sep 15 11:06:31 2019 +0100 (2019-09-15)
parents 2a5cc8208d36
children ede1d184d5c5
line diff
     1.1 --- a/lua5.1/receipt	Sun Oct 20 22:08:25 2013 +0000
     1.2 +++ b/lua5.1/receipt	Sun Sep 15 11:06:31 2019 +0100
     1.3 @@ -1,15 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lua5.1"
     1.7 -VERSION="5.1.4"
     1.8 -SOURCE="lua"
     1.9 +VERSION="5.1.5"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://www.lua.org/"
    1.15 +
    1.16 +SOURCE="lua"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.lua.org/"
    1.19 -WGET_URL="http://www.lua.org/ftp/$TARBALL"
    1.20 +WGET_URL="https://www.lua.org/ftp/$TARBALL"
    1.21  
    1.22  DEPENDS="readline ncurses"
    1.23  BUILD_DEPENDS="readline-dev"
    1.24 @@ -17,7 +18,6 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29  	patch -p0 < $stuff/lua5.1-paths.patch || exit 1
    1.30  	sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
    1.31  	sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc
    1.32 @@ -25,16 +25,19 @@
    1.33  	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
    1.34  	sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h
    1.35  	sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
    1.36 +
    1.37  	make linux &&
    1.38 -	make install \
    1.39 -		INSTALL_TOP=$DESTDIR/usr \
    1.40 +	make install				\
    1.41 +		INSTALL_TOP=$DESTDIR/usr	\
    1.42  		INSTALL_MAN=$DESTDIR/usr/share/man/man1
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1
    1.49 -	cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1
    1.50 -	cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1
    1.51 +	mkdir -p $fs/usr/bin
    1.52 +	mkdir -p $fs/usr/lib/lua/5.1
    1.53 +
    1.54 +	cp -a $install/usr/bin/lua	$fs/usr/bin/lua5.1
    1.55 +	cp -a $install/usr/bin/luac	$fs/usr/bin/luac5.1
    1.56  }