wok-stable view fping/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents
children
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 }