# HG changeset patch # User Hans-G?nter Theisgen # Date 1648017111 -3600 # Node ID facd18a500ffec3aef7a5244cd8de6046df03b7f # Parent 21a4d655af02664ce5ef119fe814da9104872bac created recipes for libnsl and libnsl-dev diff -r 21a4d655af02 -r facd18a500ff libnsl-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnsl-dev/receipt Wed Mar 23 07:31:51 2022 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="libnsl-dev" +VERSION="2.0.0" +CATEGORY="development" +SHORT_DESC="Public client interface library for NIS(YP) and NIS+ - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2+" +WEB_SITE="https://www.thkukuk.de/nis/" + +DEPENDS="libnsl" +WANTED="libnsl" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ +# mkdir -p $fs/usr/lib/pkgconfig + +# cp -a $install/usr/include $fs/usr +# cp -a $install/usr/lib/*.*a $fs/usr/lib +# cp -a $install/usr/lib/pkgconfig $fs/usr/lib + get_dev_files +} diff -r 21a4d655af02 -r facd18a500ff libnsl/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnsl/description.txt Wed Mar 23 07:31:51 2022 +0100 @@ -0,0 +1,4 @@ +This library contains the public client interface for NIS(YP). + +This code was formerly part of glibc, but is now standalone to +be able to link against TI-RPC for IPv6 support. diff -r 21a4d655af02 -r facd18a500ff libnsl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnsl/receipt Wed Mar 23 07:31:51 2022 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libnsl" +VERSION="2.0.0" +CATEGORY="development" +SHORT_DESC="Public client interface library for NIS(YP) and NIS+." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2+" +WEB_SITE="https://www.thkukuk.de/nis/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://github.com/thkukuk/$PACKAGE/releases/download/v$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $CONFIG_ARGS + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files *.so* +}