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