wok-6.x view arpwatch/receipt @ rev 9902

parted: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 13:38:44 2011 +0200 (2011-05-17)
parents 4b401c94597d
children 6769a12a49d6
line source
1 # SliTaz package receipt.
3 PACKAGE="arpwatch"
4 VERSION="2.1a15"
5 CATEGORY="network"
6 SHORT_DESC="arpwatch and arpsnmp network monitoring tools"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpcap"
9 BUILD_DEPENDS="libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="ftp://ftp.ee.lbl.gov"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
19 sed -i 's|-o bin -g bin||' Makefile.in
20 ./configure &&
21 make &&
22 install -d -m 755 $DESTDIR/usr/sbin
23 make install
25 #~ SENDMAIL=/usr/sbin/sendmail
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 install -d -m 0755 $fs/var/lib/arpwatch
34 touch $fs/var/lib/arpwatch/arp.dat
35 }