wok-6.x view ypbind-mt/receipt @ rev 25522
created recipes for libtermkey and libtermkey-dev 0.22
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:12:54 2023 +0100 (20 months ago) |
parents | 922f061231c2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ypbind-mt"
4 VERSION="1.31"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages client daemon"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
11 WGET_URL="https://github.com/thkukuk/ypbind-mt/archive/refs/tags/ypbind-mt-${VERSION/./_}.tar.gz"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://github.com/thkukuk/ypbind-mt/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }