wok-next view fping/receipt @ rev 12037

linux, linux-libre: do not create $WOK/tmp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 07 09:10:02 2012 +0100 (2012-03-07)
parents
children 18a9cd52e9bb
line source
1 # SliTaz package receipt.
3 PACKAGE="fping"
4 VERSION="2.4b2_to"
5 CATEGORY="system-tools"
6 SHORT_DESC="ICMP echo with multiple hosts."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.tar.gz"
9 WEB_SITE="http://fping.sourceforge.net/"
10 WGET_URL="${WEB_SITE}download/$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 $CONFIGURE_ARGS && \
18 make && make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/etc
25 cp -a $_pkg/usr/sbin $fs/usr
26 cp stuff/protocols $fs/etc
27 }