wok annotate libnsl/receipt @ rev 24865
updated lsscsi (0.31 -> 0.32)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:29:17 2022 +0100 (2022-03-30) |
parents | facd18a500ff |
children | f40d97a52c42 |
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+" |
Hans-G?nter@24817 | 9 WEB_SITE="https://www.thkukuk.de/nis/" |
Hans-G?nter@24817 | 10 |
Hans-G?nter@24817 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24817 | 12 WGET_URL="https://github.com/thkukuk/$PACKAGE/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 } |