jow 2f9a65fa97 [packages] normalize PKG_FIXUP - the "libtool" fixup is merely an alias for "autoreconf", so change all occurences to that
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 21:18:33 +00:00

42 lines
1.1 KiB
Makefile

#
# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=netdiscover
PKG_VERSION:=0.3-beta6
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nixgeneration.com/~jaime/netdiscover/releases/
PKG_MD5SUM:=0919227a91ecaeeb2443cff249417be2
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/netdiscover
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpcap +libnet1 +libpthread
TITLE:=An active/passive address reconnaissance tool
URL:=http://nixgeneration.com/~jaime/netdiscover/
MAINTAINER:=Daniel Dickinson <openwrt@cshore.neomailbox.net>
endef
CONFIGURE_VARS+= \
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.1.x/include" \
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.1.x/lib" \
define Package/netdiscover/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,netdiscover))