wok-next view yp-tools/receipt @ rev 20311

Up gtk-gnutella (1.1.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 20:59:56 2017 +0100 (2017-11-10)
parents 617dbdeb6f7e
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="yp-tools"
4 VERSION="4.2.2"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.linux-nis.org/download/yp-tools/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/var $fs
30 }