c28a62ad4c1928479b8710d677c97c35ff90bf17
[openwrt/svn-archive/archive.git] / net / flow-tools / Makefile
1 #
2 # Copyright (C) 2007 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:=flow-tools
11 PKG_VERSION:=0.68
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.eng.oar.net/pub/flow-tools/
16 PKG_MD5SUM:=c9e0a8b53c79611b6bffcb9d510a5a38
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 PKG_BUILD_DEPENDS:=+zlib
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/flow-tools
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=flow-tools
28 URL:=http://www.splintered.net/sw/flow-tools/
29 endef
30
31 define Package/flow-tools/description
32 Flow-tools is a software package for collecting and processing
33 NetFlow data from Cisco and Juniper routers.
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/Default,all)
38 endef
39
40 define Package/flow-tools/install
41 $(INSTALL_DIR) $(1)/usr/bin/
42 $(CP) $(PKG_BUILD_DIR)/src/flow-* $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,flow-tools))