DESCRIPTION:= is obselete
[packages.git] / net / fprobe-ulog / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=fprobe-ulog
12 PKG_VERSION:=1.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/fprobe
17 PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/fprobe-ulog
25   SECTION:=net
26   CATEGORY:=Network
27   DEPENDS:=+libpthread
28   TITLE:=NetFlow probe (ulog-based)
29   URL:=http://fprobe.sourceforge.net
30 endef
31
32 define Package/fprobe-ulog/description
33         A NetFlow probe obtaining packets through linux netfilter code 
34         (iptables ULOG target).
35 endef
36
37 define Build/Configure
38         $(call Build/Configure/Default, \
39                 --with-piddir=/var \
40                 --with-membulk=index8 \
41                 --with-hash=xor8 \
42         )
43 endef
44
45 define Build/Compile    
46         $(MAKE) -C $(PKG_BUILD_DIR)
47 endef
48
49 define Package/fprobe-ulog/install      
50         $(INSTALL_DIR) $(1)/usr/bin
51         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fprobe-ulog $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,fprobe-ulog))