2 # <fedor@yu.wildpark.net>
7 pkgdesc="Scan for LLTD-enabled hosts on your network"
8 url="http://github.com/zed-0xff/lltdscan"
11 depends=('pcap' 'libnet')
15 _gitroot="git://github.com/zed-0xff/lltdscan.git"
21 msg "Connecting to the git repository..."
22 if [ -d ${srcdir}/${_gitname} ]; then
26 git clone --depth 1 ${_gitroot}
28 msg "GIT checkout done or server timeout"
30 rm -rf ${srcdir}/${_gitname}-build
31 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
32 cd ${srcdir}/${_gitname}-build
34 msg "Starting make..."
36 install -m 755 -D lltdscan $pkgdir/usr/sbin/lltdscan
38 install -m 644 -D lltdscan.8.gz $pkgdir/usr/man/man8/lltdscan.8.gz