wok-4.x view arpwatch/receipt @ rev 11345
fail2ban: Fixed typo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 26 14:56:42 2011 +0000 (2011-11-26) |
parents | 1e19a2f13637 |
children |
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 }