wok annotate yp-tools/receipt @ rev 21066
updated isync (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 14 14:02:50 2019 +0100 (2019-03-14) |
parents | 617dbdeb6f7e |
children | 28641e299609 |
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@15362 | 8 LICENSE="GPL2" |
pascal@5680 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/" |
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 cd $src |
pascal@5680 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5680 | 18 --mandir=/usr/share/man \ |
pascal@5680 | 19 $CONFIGURE_ARGS && |
pascal@5680 | 20 make && |
pascal@15362 | 21 make DESTDIR=$DESTDIR install |
pascal@5680 | 22 } |
pascal@5680 | 23 |
pascal@5680 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5680 | 25 genpkg_rules() |
pascal@5680 | 26 { |
pascal@5680 | 27 mkdir -p $fs/usr |
pascal@15362 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@15362 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15362 | 30 cp -a $install/var $fs |
pascal@5680 | 31 } |