wok-current view arpwatch/receipt @ rev 10311

thunar-vfs: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 21:27:11 2011 +0000 (2011-05-21)
parents 1e19a2f13637
children d7486a2cc6d9
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 $CONFIGURE_ARGS &&
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 }