wok-4.x annotate fping/receipt @ rev 6707
Added linux-module-headers. This is used to build 3rd party kernel modules. This is based on archlinux kernel26-headers PKGBUILD.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 23:49:38 2010 +0000 (2010-10-13) |
parents | |
children |
rev | line source |
---|---|
pascal@1317 | 1 # SliTaz package receipt. |
pascal@1317 | 2 |
pascal@1317 | 3 PACKAGE="fping" |
pascal@1317 | 4 VERSION="2.4b2_to" |
pascal@1317 | 5 CATEGORY="system-tools" |
pascal@1317 | 6 SHORT_DESC="ICMP echo with multiple hosts." |
pascal@1317 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1317 | 8 TARBALL="$PACKAGE.tar.gz" |
pascal@1317 | 9 WEB_SITE="http://fping.sourceforge.net/" |
pascal@1317 | 10 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@1317 | 11 |
pascal@1317 | 12 # Rules to configure and make the package. |
pascal@1317 | 13 compile_rules() |
pascal@1317 | 14 { |
pascal@1317 | 15 cd $src |
pascal@1317 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1317 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@1317 | 18 make && make DESTDIR=$PWD/_pkg install |
pascal@1317 | 19 } |
pascal@1317 | 20 |
pascal@1317 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1317 | 22 genpkg_rules() |
pascal@1317 | 23 { |
pascal@1317 | 24 mkdir -p $fs/usr $fs/etc |
pascal@1317 | 25 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1317 | 26 cp stuff/protocols $fs/etc |
pascal@1317 | 27 } |
pascal@1317 | 28 |