wok-current rev 23932

created recipe for lua-readline
author Hans-G?nter Theisgen
date Sat Sep 05 10:57:14 2020 +0100 (2020-09-05)
parents ef4316e2c331
children 64767bfb1282
files lua-readline/description.txt lua-readline/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua-readline/description.txt	Sat Sep 05 10:57:14 2020 +0100
     1.3 @@ -0,0 +1,1 @@
     1.4 +GNU readline binding for Lua 5.2
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lua-readline/receipt	Sat Sep 05 10:57:14 2020 +0100
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="lua-readline"
     2.7 +VERSION="1.0"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="GNU readline binding for Lua."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +WEB_SITE="https://github.com/hleuwer/readline/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.zip"
    2.15 +WGET_URL="${WEB_SITE}archive/master.zip"
    2.16 +
    2.17 +SUGGESTED="lua"
    2.18 +BUILD_DEPENDS="lua-dev readline-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	make
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	# lua-dev is version 5.2
    2.30 +	mkdir -p $fs/usr/lib/lua/5.2
    2.31 +	cp -a $src/Release/readline.so	$fs/usr/lib/lua/5.2
    2.32 +}