wok-current view arpwatch/receipt @ rev 21706
updated prosody (0.9.4 -> 0.11.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 06 17:46:50 2019 +0100 (2019-06-06) |
parents | 04d824c95283 |
children | 9af0e03b8ad0 |
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 WEB_SITE="ftp://ftp.ee.lbl.gov/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
20 sed -i 's|-o bin -g bin||' Makefile.in
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 install -d -m 755 $DESTDIR/usr/sbin
24 make install
26 #~ SENDMAIL=/usr/sbin/sendmail
28 cook_pick_manpages $src/*.8
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 install -d -m 0755 $fs/var/lib/arpwatch
37 touch $fs/var/lib/arpwatch/arp.dat
38 }