# HG changeset patch # User Hans-G?nter Theisgen # Date 1677249359 -3600 # Node ID 2ce61368004bb9407d0cfcbd7b7a9796fdb66130 # Parent adcde2ac1f3223b26cd7723ca606a121f585b1e6 created recipes for libuv and libuv-dev 1.44.1 diff -r adcde2ac1f32 -r 2ce61368004b libuv-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libuv-dev/receipt Fri Feb 24 15:35:59 2023 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="libuv-dev" +VERSION="1.44.1" +CATEGORY="development" +SHORT_DESC="Cross-platform asychronous I/O - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT ISC" +WEB_SITE="https://libuv.org/" + +DEPENDS="libuv" +WANTED="libuv" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + get_dev_files +} diff -r adcde2ac1f32 -r 2ce61368004b libuv/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libuv/description.txt Fri Feb 24 15:35:59 2023 +0100 @@ -0,0 +1,3 @@ +Libuv is a multi-platform support library with a focus on asynchronous I/O. +It was primarily developed for use by Node.js, +but it’s also used by Luvit, Julia, uvloop, and others. diff -r adcde2ac1f32 -r 2ce61368004b libuv/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libuv/receipt Fri Feb 24 15:35:59 2023 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="libuv" +VERSION="1.44.1" +CATEGORY="libs" +SHORT_DESC="Cross-platform asychronous I/O." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT ISC" +WEB_SITE="https://libuv.org/" + +TARBALL="$PACKAGE-v$VERSION.tar.gz" +WGET_URL="https://dist.libuv.org/dist/v$VERSION/$TARBALL" + +BUILD_DEPENDS="autoconf automake libtool" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh && + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var && + make \ + CFLAGS="$CFLAGS -D__USE_MISC" \ + BUILDTYPE=Release + make install \ + DESTDIR="$DESTDIR" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files *.so* +}