2 # Copyright (C) 2007-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://codeload.github.com
/irino
/softflowd
/tar.gz
/softflowd-
$(PKG_VERSION
)?
16 PKG_HASH
:=98aa66026d730211b45fe89670cd6ce50959846d536880b82f5afbca6281e108
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-softflowd-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=Ross Vandegrift
<ross@kallisti.us
>
20 PKG_LICENSE
:=BSD-3-Clause
21 PKG_LICENSE_FILES
:=LICENSE
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/softflowd
34 URL
:=https
://github.com
/irino
/softflowd
37 define Package
/softflowd
/description
38 Software netflow exporter
41 define Package
/softflowd
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/softflowd
$(1)/usr
/sbin
/
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/softflowctl
$(1)/usr
/sbin
/
45 $(INSTALL_DIR
) $(1)/etc
/config
46 $(INSTALL_DATA
) .
/files
/$(PKG_NAME
).config
$(1)/etc
/config
/$(PKG_NAME
)
47 $(INSTALL_DIR
) $(1)/etc
/init.d
48 $(INSTALL_BIN
) .
/files
/$(PKG_NAME
).init
$(1)/etc
/init.d
/$(PKG_NAME
)
51 define Package
/softflowd
/conffiles
55 $(eval
$(call BuildPackage
,softflowd
))