2 # Copyright (C) 2006 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
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/fprobe
17 PKG_MD5SUM:=65850d0470078269b33eee58cba77ac2
20 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
27 DEPENDS:=+libpcap +libpthread
28 TITLE:=NetFlow probe (libpcap-based)
29 URL:=http://fprobe.sourceforge.net/
32 define Build/Configure
33 $(call Build/Configure/Default, \
35 --with-pcap="$(STAGING_DIR)/usr/include" \
36 --with-libpcap="$(STAGING_DIR)/usr/lib" \
37 --with-membulk=index8 \
43 $(MAKE) -C $(PKG_BUILD_DIR)
46 define Package/fprobe/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(CP) $(PKG_BUILD_DIR)/src/fprobe $(1)/usr/bin/
51 $(eval $(call BuildPackage,fprobe))