wok-6.x view yp-tools/receipt @ rev 13425

ipxe: update #!pxe script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 10:43:24 2012 +0200 (2012-10-04)
parents
children 617dbdeb6f7e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/var $fs
30 }