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.
8 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
14 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/n/nbtscan/
15 PKG_MD5SUM:=85bb085077c380b82a6ff73e0de0c154
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)a
19 include $(INCLUDE_DIR)/package.mk
21 define Package/nbtscan
24 TITLE:=NBTscan is a program for scanning IP networks for NetBIOS name information
25 URL:=http://www.inetcat.net/software/nbtscan.html
28 define Package/nbtscan/description
29 NBTscan is a program for scanning IP networks for NetBIOS name information.
30 It sends NetBIOS status query to each address in supplied range and lists
31 received information in human readable form. For each responded host it lists
32 IP address, NetBIOS computer name, logged-in user name and MAC address.
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 DESTDIR="$(PKG_INSTALL_DIR)"
45 define Package/nbtscan/install
46 $(INSTALL_DIR) $(1)/usr/sbin/
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nbtscan $(1)/usr/sbin/
50 $(eval $(call BuildPackage,nbtscan))