wok-6.x diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/arpwatch/receipt Tue May 10 23:41:05 2011 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="arpwatch" 1.7 +VERSION="2.1a15" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="arpwatch and arpsnmp network monitoring tools" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libpcap" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="ftp://ftp.ee.lbl.gov" 1.14 +WGET_URL="$WEB_SITE/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in 1.21 + sed -i 's|-o bin -g bin||' Makefile.in 1.22 + ./configure && 1.23 + make SENDMAIL=/usr/sbin/sendmail && 1.24 + install -d -m 755 $DESTDIR/usr/sbin 1.25 + make install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/sbin $fs/usr 1.33 + install -d -m 0755 $fs/var/lib/arpwatch 1.34 + touch $fs/var/lib/arpwatch/arp.dat 1.35 +} 1.36 +