wok-next view arpwatch/receipt @ rev 20429

Remove sane-backends-dev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:20:37 2018 +0200 (2018-01-24)
parents 04d824c95283
children d5aab818505e
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 }