1 # Contributor: fnord0 < fnord0 AT riseup DOT net >
6 pkgdesc="A security validation tool that tests to see if a PC can mimic the behavior of an IP Phone. It rapidly automates a VLAN Hop into the Voice VLAN."
8 url="http://voiphopper.sourceforge.net/"
10 depends=('libpcap' 'gcc')
11 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('ade32c1ebd965b69b01a92d654543e56')
13 sha1sums=('f2a325522e49462408391a96bd516a38c2b24950')
16 cd ${srcdir}/${pkgname}-${pkgver}
17 install -d ${pkgdir}/usr/share/voiphopper || return 1
18 install -d ${pkgdir}/usr/share/licenses/voiphopper || return 1
19 install -d ${pkgdir}/usr/bin || return 1
20 install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/voiphopper/LICENSE || return 1
21 for doc in INSTALL README BUGS; do
22 install -Dm644 ${doc} ${pkgdir}/usr/share/voiphopper/${doc} || return 1
24 ./configure --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib || return 1
29 cd ${srcdir}/${pkgname}-${pkgver}
30 make DESTDIR="${pkgdir}" install || return 1