### this file is sourced not run
PKGVER=1.7.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=nbtscan-$PKGVER.tar.gz
MD5SUM=e3723635e1e7c5abe6a46bdab9788018
SRC_URL=https://github.com/resurrecting-open-source-projects/nbtscan/archive/refs/tags/$PKGVER.tar.gz
BUNDLE=

SLACKREQ='' # 
SLACKDESC="nbtscan: nbtscan $PKGVER (NetBIOS scanner)  
nbtscan:  
nbtscan: nbtscan is a tool to scan for NetBIOS servers. Useful to find 
nbtscan: existing Samba or Windows fileshares around the neighbourhood.  
nbtscan: 
nbtscan: https://github.com/resurrecting-open-source-projects/nbtscan
nbtscan: 
nbtscan: 
nbtscan: 
nbtscan: 
nbtscan:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/nbtscan* &&

	# patch default internal to 0.1ms instead of the ridiculous 0.001ms	
	sed -i -e 's/send_interval.tv_usec = 1/&00/' src/nbtscan.c &&

	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
