wok annotate yp-tools/receipt @ rev 12110
Up tazpanel 1.4.4
author | Christian Mesh meshca@clarkson.edu |
---|---|
date | Mon Mar 12 16:12:16 2012 +0000 (2012-03-12) |
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 } |