2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
15 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/n
/nbtscan
/
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)a
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/nbtscan
25 TITLE
:=NBTscan is a program for scanning IP networks for NetBIOS name information
26 URL
:=http
://www.inetcat.net
/software
/nbtscan.html
29 define Package
/nbtscan
/description
30 NBTscan is a program for scanning IP networks for NetBIOS name information.
31 It sends NetBIOS status query to each address in supplied range and lists
32 received information in human readable form. For each responded host it lists
33 IP address
, NetBIOS computer name
, logged-in user name and MAC address.
41 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
42 DESTDIR
="$(PKG_INSTALL_DIR)"
46 define Package
/nbtscan
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
/
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nbtscan
$(1)/usr
/sbin
/
51 $(eval
$(call BuildPackage
,nbtscan
))