wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnsl"
4 VERSION="2.0.0"
5 CATEGORY="development"
6 SHORT_DESC="Public client interface library for NIS(YP) and NIS+."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2+"
9 WEB_SITE="https://www.thkukuk.de/nis/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/thkukuk/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 $CONFIG_ARGS
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so*
35 }