PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/ngrep
PKG_MD5SUM:=bc8150331601f3b869549c94866b4f1c
-PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
CATEGORY:=Network
DEPENDS:=+libpcap +libpcre
TITLE:=network grep
- DESCRIPTION:=\
- ngrep a pcap-aware tool that will allow you to specify extended\\\
- regular expressions to match against data payloads of packets. It\\\
- currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP,\\\
- FDDI, Token Ring and null interfaces, and understands BPF filter\\\
- logic in the same fashion as more common packet sniffing tools,\\\
- like tcpdump and snoop.
URL:=http://ngrep.sourceforge.net
endef
+define Package/ngrep/description
+ ngrep a pcap-aware tool that will allow you to specify extended
+ regular expressions to match against data payloads of packets. It
+ currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP,
+ FDDI, Token Ring and null interfaces, and understands BPF filter
+ logic in the same fashion as more common packet sniffing tools,
+ like tcpdump and snoop.
+endef
+
define Build/Configure
$(call Build/Configure/Default, \
--with-pcap-includes=$(STAGING_DIR)/usr/include \