wok-6.x rev 25520

created recipes for libluv and libluv-dev 1.44.2.1
author Hans-G?nter Theisgen
date Fri Feb 24 15:44:32 2023 +0100 (21 months ago)
parents 2ce61368004b
children f1a091c50397
files libluv-dev/receipt libluv/description.txt libluv/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libluv-dev/receipt	Fri Feb 24 15:44:32 2023 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libluv-dev"
     1.7 +VERSION="1.44.2.1"
     1.8 +CATEGORY="development"
     1.9 +TAGS="lua"
    1.10 +SHORT_DESC="Bare libuv bindings for lua - development files."
    1.11 +MAINTAINER="maintainer@slitaz.org"
    1.12 +LICENSE="Apache-2.0"
    1.13 +WEB_SITE="https://github.com/luvit/luv"
    1.14 +
    1.15 +WANTED="libluv"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	get_dev_files
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libluv/description.txt	Fri Feb 24 15:44:32 2023 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +Libuv bindings for luajit and lua.
     2.5 +
     2.6 +This library makes libuv available to lua scripts.
     2.7 +It was made for the luvit project but should usable
     2.8 +from nearly any lua project.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libluv/receipt	Fri Feb 24 15:44:32 2023 +0100
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libluv"
     3.7 +VERSION="1.44.2.1"
     3.8 +CATEGORY="libs"
     3.9 +TAGS="lua"
    3.10 +SHORT_DESC="Bare libuv bindings for lua."
    3.11 +MAINTAINER="maintainer@slitaz.org"
    3.12 +LICENSE="Apache-2.0"
    3.13 +WEB_SITE="https://github.com/luvit/luv"
    3.14 +
    3.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 +WGET_URL="$WEB_SITE/releases/download/${VERSION%.*}-${VERSION: -1}/luv-${VERSION%.*}-${VERSION: -1}.tar.gz"
    3.17 +
    3.18 +DEPENDS="libuv"
    3.19 +BUILD_DEPENDS="cmake libuv-dev luajit-dev ninja"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	cmake	-B _build			\
    3.25 +		-G Ninja			\
    3.26 +		-DCMAKE_BUILD_TYPE=None		\
    3.27 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    3.28 +		-DWITH_SHARED_LIBUV=ON		\
    3.29 +		-DLUA_BUILD_TYPE=System		\
    3.30 +		-DBUILD_MODULE=OFF		\
    3.31 +		-DBUILD_SHARED_LIBS=ON		\
    3.32 +		-DBUILD_STATIC_LIBS=OFF
    3.33 +	cmake	--build _build
    3.34 +	DESTDIR="$DESTDIR" cmake --install _build
    3.35 +}
    3.36 +
    3.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.38 +genpkg_rules()
    3.39 +{
    3.40 +	cook_copy_files	*.so*
    3.41 +}