wok view ypbind-mt/receipt @ rev 25701

Up xcursor-comix (0.10.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 29 11:38:51 2024 +0000 (5 months ago)
parents e717a4953b0e
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 '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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 }