wok-current view libnsl/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 6921af00a0cc |
children |
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://github.com/thkukuk/libnsl/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/thkukuk/libnsl/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 }