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

zfs-fuse: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 14:55:40 2019 +0200 (2019-04-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 }