wok-6.x view yp-tools/receipt @ rev 17146
libmrss: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 13:04:01 2014 +0200 (2014-09-10) |
parents | 5107a98d1572 |
children | 86790a278e70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yp-tools"
4 VERSION="2.12"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/var $fs
31 }