Remove non-essential software from krb5-server package to reduce size
[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 include $(INCLUDE_DIR)/package.mk
19
20 define Package/fprobe-ulog
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+libpthread
24 TITLE:=NetFlow probe (ulog-based)
25 URL:=http://fprobe.sourceforge.net
26 endef
27
28 define Package/fprobe-ulog/description
29 A NetFlow probe obtaining packets through linux netfilter code
30 (iptables ULOG target).
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --with-piddir=/var \
36 --with-membulk=index8 \
37 --with-hash=xor8 \
38 )
39 endef
40
41 define Build/Compile
42 $(MAKE) -C $(PKG_BUILD_DIR)
43 endef
44
45 define Package/fprobe-ulog/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fprobe-ulog $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,fprobe-ulog))