nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / nbtscan / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=nbtscan
11 PKG_VERSION:=1.5.1
12
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:=
16
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)a
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/nbtscan
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=NBTscan is a program for scanning IP networks for NetBIOS name information
25 URL:=http://www.inetcat.net/software/nbtscan.html
26 endef
27
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.
33 endef
34
35 CONFIGURE_ARGS += \
36 --enable-static \
37 --enable-shared
38
39 define Build/Compile
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 DESTDIR="$(PKG_INSTALL_DIR)"
42 endef
43
44
45 define Package/nbtscan/install
46 $(INSTALL_DIR) $(1)/usr/sbin/
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nbtscan $(1)/usr/sbin/
48 endef
49
50 $(eval $(call BuildPackage,nbtscan))