wok view yp-tools/receipt @ rev 10861

Up: cookutils (1.4) - Bunch of fixes and small improvments - ready for RC
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 18 22:45:15 2011 +0200 (2011-06-18)
parents
children 617dbdeb6f7e
line source
1 # SliTaz package receipt.
3 PACKAGE="yp-tools"
4 VERSION="2.12"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/var $fs
30 }