wok-current annotate yp-tools/receipt @ rev 12274

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