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.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=@SF
/fprobe
16 PKG_MD5SUM
:=65850d0470078269b33eee58cba77ac2
18 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=+libpcap
+libpthread
26 TITLE
:=NetFlow probe
(libpcap-based
)
27 URL
:=http
://fprobe.sourceforge.net
/
30 define Build
/Configure
31 $(call Build
/Configure
/Default
, \
33 --with-pcap
="$(STAGING_DIR)/usr/include" \
34 --with-libpcap
="$(STAGING_DIR)/usr/lib" \
35 --with-membulk
=index8 \
41 $(MAKE
) -C
$(PKG_BUILD_DIR
)
44 define Package
/fprobe
/install
45 $(INSTALL_DIR
) $(1)/usr
/bin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/fprobe
$(1)/usr
/bin
/
49 $(eval
$(call BuildPackage
,fprobe
))