wok-current view yp-tools/receipt @ rev 24948

updated nagios-nrpe again (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:47:12 2022 +0100 (2022-04-22)
parents d443265acbc1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="yp-tools"
4 VERSION="4.2.3"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/thkukuk/yp-tools"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh &&
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/var $fs
43 }