wok rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 0aa34f26a923
children 2b37f876f632
files lua5.1-mpack/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua5.1-mpack/receipt	Sat Feb 25 07:18:33 2023 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lua5.1-mpack"
     1.7 +VERSION="1.0.9"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Libmpack bindings for Lua."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/libmpack/libmpack-lua/"
    1.13 +REPOLOGY="lua:mpack"
    1.14 +
    1.15 +SOURCE="libmpack-lua"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
    1.18 +
    1.19 +SUGGESTED="lua5.1"
    1.20 +DEPENDS="libmpack"
    1.21 +BUILD_DEPENDS="libmpack-dev lua5.1 lua5.1-dev"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	make						\
    1.27 +		FETCH=false				\
    1.28 +		LUA_INCLUDE=-I/usr/include/lua/5.1	\
    1.29 +		USE_SYSTEM_LUA=yes			\
    1.30 +		USE_SYSTEM_MPACK=yes			\
    1.31 +		LUA_LIB=/usr/lib/lua/5.1 &&
    1.32 +	make	install					\
    1.33 +		FETCH=false				\
    1.34 +		LUA_INCLUDE=-I/usr/include/lua/5.1	\
    1.35 +		USE_SYSTEM_LUA=yes			\
    1.36 +		USE_SYSTEM_MPACK=yes			\
    1.37 +		LUA_LIB=/usr/lib/lua/5.1		\
    1.38 +		DESTDIR="$DESTDIR"
    1.39 +}
    1.40 +
    1.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 +genpkg_rules()
    1.43 +{
    1.44 +	cook_copy_files	*.so*
    1.45 +}