void-packages/srcpkgs/arpwatch/template

23 lines
683 B
Bash

# Template file for 'arpwatch'
pkgname=arpwatch
version=3.6
revision=1
build_style=gnu-configure
configure_args="--with-sendmail=/usr/bin/sendmail"
makedepends="libpcap-devel"
short_desc="Ethernet/FDDI station activity monitor"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause-LBNL"
homepage="https://ee.lbl.gov/"
distfiles="https://ee.lbl.gov/downloads/arpwatch/arpwatch-${version}.tar.gz"
checksum=f86529fe57fdb5a2ff5413bc13c245063f99b3bf742421fd3133272175be8156
pre_configure() {
vsed -i '/@HAVE_FREEBSD_TRUE@/d' Makefile.in
}
pre_install() {
install -d -m 0755 $DESTDIR/usr/{bin,share/man/man8}
sed -n '1,27p' arpwatch.c > LICENSE && vlicense LICENSE
}