1 # Maintainer: Jonathan Liu <net147@gmail.com>
6 pkgdesc="Arp handler inspectiON - a portable Arp handler"
8 url="http://arpon.sourceforge.net/"
10 depends=('bash' 'libnet' 'libpcap')
11 makedepends=('cmake' 'libdnet')
12 backup=('etc/conf.d/arpon')
13 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${_realpkgname}-${pkgver}.tar.gz"
16 md5sums=('3c3230f6852b9ffd5618a35c2f25221c'
17 '86f43d0040e3947c0509de1ed0902775'
18 '9b5ee4ac66f42a10efc2768bbd999a18')
21 cd "${srcdir}/${_realpkgname}-${pkgver}"
22 [ -d build ] || mkdir build
24 cmake -DPCAP_LIB_DIR=/usr/lib -DPCAP_LIBRARY=/usr/lib/libpcap.so ..
29 cd "${srcdir}/${_realpkgname}-${pkgver}/build"
30 make DESTDIR="${pkgdir}" install
31 install -D -m644 "../LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32 install -D -m755 "${srcdir}/arpon" "${pkgdir}/etc/rc.d/arpon"
33 install -D -m644 "${srcdir}/arpon.conf.d" "${pkgdir}/etc/conf.d/arpon"
36 # vim:set ts=2 sw=2 et: