wok-current view ypbind-mt/receipt @ rev 25647
remove add-gnu-debuglink feature on gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Jan 20 20:44:57 2024 +0000 (9 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 }