wok rev 21568

updated lua and lua-dev (5.2.1 -> 5.2.4)
author Hans-G?nter Theisgen
date Sat May 18 10:15:49 2019 +0100 (2019-05-18)
parents 8e3182b59a9c
children 87b6697bb350
files lua-dev/receipt lua/receipt
line diff
     1.1 --- a/lua-dev/receipt	Fri May 17 15:57:08 2019 +0100
     1.2 +++ b/lua-dev/receipt	Sat May 18 10:15:49 2019 +0100
     1.3 @@ -1,22 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lua-dev"
     1.7 -VERSION="5.2.1"
     1.8 +VERSION="5.2.4"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Lua devel files."
    1.11 -WANTED="lua"
    1.12 +SHORT_DESC="Lua development files."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -WEB_SITE="http://www.lua.org/"
    1.16 -HOST_ARCH="i486 arm"
    1.17 +
    1.18 +WEB_SITE="https://www.lua.org/"
    1.19  
    1.20  DEPENDS="pkg-config lua"
    1.21 +WANTED="lua"
    1.22 +
    1.23 +HOST_ARCH="i486 arm"
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib/pkgconfig $fs/usr
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 -	cp -a $install/usr/lib/liblua.a $fs/usr/lib
    1.31 -	cp -a $stuff/lua.pc $fs/usr/lib/pkgconfig
    1.32 +	mkdir -p $fs/usr/lib/pkgconfig
    1.33 +	mkdir -p $fs/usr
    1.34 +
    1.35 +	cp -a $install/usr/include	$fs/usr
    1.36 +	cp -a $install/usr/lib/liblua.a	$fs/usr/lib
    1.37 +	cp -a $stuff/lua.pc		$fs/usr/lib/pkgconfig
    1.38  }
     2.1 --- a/lua/receipt	Fri May 17 15:57:08 2019 +0100
     2.2 +++ b/lua/receipt	Sat May 18 10:15:49 2019 +0100
     2.3 @@ -1,35 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lua"
     2.7 -VERSION="5.2.1"
     2.8 +VERSION="5.2.4"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 +WEB_SITE="https://www.lua.org/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.lua.org/"
    2.17 -WGET_URL="http://www.lua.org/ftp/$TARBALL"
    2.18 +WGET_URL="https://www.lua.org/ftp/$TARBALL"
    2.19 +
    2.20 +DEPENDS="libtic ncurses readline"
    2.21 +BUILD_DEPENDS="libtic ncurses-dev readline-dev"
    2.22 +
    2.23  HOST_ARCH="i486 arm"
    2.24  
    2.25 -DEPENDS="readline ncurses"
    2.26 -BUILD_DEPENDS="readline-dev"
    2.27 -
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31  	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
    2.32 +
    2.33  	case "$ARCH" in
    2.34  		arm)
    2.35  			make CC=${HOST_SYSTEM}-gcc posix ;;
    2.36  		i486)
    2.37  			sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
    2.38 -			make linux ;;
    2.39 +			make linux MYLIBS=/lib/libtic.so ;;
    2.40  	esac &&
    2.41 +
    2.42  	# lua.pc
    2.43  	make pc > lua.pc &&
    2.44  	sed -i "s#/local##g" lua.pc &&
    2.45 -	make install \
    2.46 -		INSTALL_TOP=$DESTDIR/usr \
    2.47 +	make	install				\
    2.48 +		INSTALL_TOP=$DESTDIR/usr	\
    2.49  		INSTALL_MAN=$DESTDIR/usr/share/man/man1
    2.50  }
    2.51  
    2.52 @@ -37,7 +41,7 @@
    2.53  genpkg_rules()
    2.54  {
    2.55  	mkdir -p $fs/usr/bin
    2.56 -	cp -a $install/usr/bin $fs/usr
    2.57 +	cp -a $install/usr/bin	$fs/usr
    2.58  }
    2.59  
    2.60  testsuite()