[packages] qwo: fix build (closes: #4936)
[openwrt/svn-archive/archive.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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fprobe-ulog
11 PKG_VERSION:=1.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/fprobe
16 PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/fprobe-ulog
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libpthread
26 TITLE:=NetFlow probe (ulog-based)
27 URL:=http://fprobe.sourceforge.net
28 endef
29
30 define Package/fprobe-ulog/description
31 A NetFlow probe obtaining packets through linux netfilter code
32 (iptables ULOG target).
33 endef
34
35 define Build/Configure
36 $(call Build/Configure/Default, \
37 --with-piddir=/var \
38 --with-membulk=index8 \
39 --with-hash=xor8 \
40 )
41 endef
42
43 define Build/Compile
44 $(MAKE) -C $(PKG_BUILD_DIR)
45 endef
46
47 define Package/fprobe-ulog/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fprobe-ulog $(1)/usr/bin/
50 endef
51
52 $(eval $(call BuildPackage,fprobe-ulog))