wok diff lua-posix/receipt @ rev 23917

created recipes for lua-ffi and lua-posix
author Hans-G?nter Theisgen
date Wed Aug 19 09:11:10 2020 +0100 (2020-08-19)
parents
children b569b85b0fb9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua-posix/receipt	Wed Aug 19 09:11:10 2020 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lua-posix"
     1.7 +VERSION="35.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="POSIX Library for the Lua Programming Language."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/luaposix/luaposix/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +SUGGESTED="lua"
    1.18 +BUILD_DEPENDS="lua-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	export	USER=$VERSION
    1.24 +	build-aux/luke
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	# lua-dev is version 5.2
    1.31 +	mkdir -p $fs/usr/lib/lua/5.2
    1.32 +
    1.33 +	cp -a $src/linux/posix	$fs/usr/lib/lua/5.2
    1.34 +	cp -a $src/lib/posix	$fs/usr/lib/lua/5.2
    1.35 +}