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

mpc-library: Fix deps*
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 23:41:05 2011 +0200 (2011-05-10)
parents
children 1e19a2f13637
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.ee.lbl.gov"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
18 sed -i 's|-o bin -g bin||' Makefile.in
19 ./configure &&
20 make SENDMAIL=/usr/sbin/sendmail &&
21 install -d -m 755 $DESTDIR/usr/sbin
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 install -d -m 0755 $fs/var/lib/arpwatch
31 touch $fs/var/lib/arpwatch/arp.dat
32 }