wok-next view arpwatch/receipt @ rev 15609
Up rack (1.3.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:49:37 2013 +0000 (2013-12-06) |
parents | d7486a2cc6d9 |
children | 04d824c95283 |
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.ee.lbl.gov"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libpcap"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
21 sed -i 's|-o bin -g bin||' Makefile.in
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 install -d -m 755 $DESTDIR/usr/sbin
25 make install
27 #~ SENDMAIL=/usr/sbin/sendmail
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 install -d -m 0755 $fs/var/lib/arpwatch
36 touch $fs/var/lib/arpwatch/arp.dat
37 }