wok-next annotate yp-tools/receipt @ rev 20467
Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 08 01:13:43 2018 +0200 (2018-03-08) |
parents | 617dbdeb6f7e |
children | d43bf7aae921 |
rev | line source |
---|---|
pascal@5680 | 1 # SliTaz package receipt. |
pascal@5680 | 2 |
pascal@5680 | 3 PACKAGE="yp-tools" |
pascal@20220 | 4 VERSION="4.2.2" |
pascal@5680 | 5 CATEGORY="network" |
pascal@5680 | 6 SHORT_DESC="Yellow pages tools." |
pascal@5680 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
pascal@20220 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20220 | 10 WEB_SITE="http://www.linux-nis.org/download/yp-tools/" |
pascal@5680 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@5680 | 12 |
pascal@5680 | 13 # Rules to configure and make the package. |
pascal@5680 | 14 compile_rules() |
pascal@5680 | 15 { |
pascal@5680 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@20220 | 17 --mandir=/usr/share/man \ |
pascal@20220 | 18 $CONFIGURE_ARGS && |
pascal@5680 | 19 make && |
pascal@15362 | 20 make DESTDIR=$DESTDIR 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@15362 | 27 cp -a $install/usr/sbin $fs/usr |
pascal@15362 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15362 | 29 cp -a $install/var $fs |
pascal@5680 | 30 } |