wok-next annotate yp-tools/receipt @ rev 17834
Add: get-sublime-text-3.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 23 04:43:23 2015 +0200 (2015-03-23) |
parents | 5107a98d1572 |
children | 83a6c575264f |
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@5680 | 10 WEB_SITE="http://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 } |