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

Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 02 14:50:15 2014 +0100 (2014-01-02)
parents 5107a98d1572
children 86790a278e70
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/var $fs
31 }