wok-current annotate libnsl/receipt @ rev 25669
Add rdfind, required for firmware build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 20:53:40 2024 +0000 (5 months ago) |
parents | 6921af00a0cc |
children |
rev | line source |
---|---|
Hans-G?nter@24817 | 1 # SliTaz package receipt. |
Hans-G?nter@24817 | 2 |
Hans-G?nter@24817 | 3 PACKAGE="libnsl" |
Hans-G?nter@24817 | 4 VERSION="2.0.0" |
Hans-G?nter@24817 | 5 CATEGORY="development" |
Hans-G?nter@24817 | 6 SHORT_DESC="Public client interface library for NIS(YP) and NIS+." |
Hans-G?nter@24817 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24817 | 8 LICENSE="LGPL2+" |
pascal@25550 | 9 WEB_SITE="https://github.com/thkukuk/libnsl/" |
Hans-G?nter@24817 | 10 |
Hans-G?nter@24817 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@25550 | 12 WGET_URL="https://github.com/thkukuk/libnsl/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@24817 | 13 |
pascal@24819 | 14 # What is the latest version available today? |
pascal@24819 | 15 current_version() |
pascal@24819 | 16 { |
pascal@24819 | 17 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24819 | 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24819 | 19 } |
pascal@24819 | 20 |
Hans-G?nter@24817 | 21 # Rules to configure and make the package. |
Hans-G?nter@24817 | 22 compile_rules() |
Hans-G?nter@24817 | 23 { |
Hans-G?nter@24817 | 24 ./configure \ |
Hans-G?nter@24817 | 25 --prefix=/usr \ |
Hans-G?nter@24817 | 26 $CONFIG_ARGS |
Hans-G?nter@24817 | 27 make && |
Hans-G?nter@24817 | 28 make install |
Hans-G?nter@24817 | 29 } |
Hans-G?nter@24817 | 30 |
Hans-G?nter@24817 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24817 | 32 genpkg_rules() |
Hans-G?nter@24817 | 33 { |
Hans-G?nter@24817 | 34 cook_copy_files *.so* |
Hans-G?nter@24817 | 35 } |