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
)-$(PKG_REV
).
tar.gz
15 PKG_MIRROR_HASH
:=0c4a99179a76e8479bdc7d91c312de7fc9e6d4d54132d1b2aba836138c86440c
17 PKG_SOURCE_URL
:=https
://github.com
/tohojo
/flent
18 PKG_REV
:=03c72cc340def354024351b6500774b11170d5ba
19 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_SOURCE_VERSION
:=$(PKG_REV
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/flent-tools
27 TITLE
:=Helper programs for the Flent
test tool
28 URL
:=https
://flent.org
29 MAINTAINER
:=Toke Høiland-Jørgensen
<toke@toke.dk
>
33 define Package
/flent-tc_iterate
/description
34 This builds the C helper programs for gathering data for
35 the Flent network testing tool. These tools are needed for
36 gathering data when a Bash
shell is not available
(and also
37 perform better than the
shell equivalents
).
41 $(MAKE
) -C
$(PKG_BUILD_DIR
)/misc \
43 CFLAGS
="$(TARGET_CFLAGS) -std=gnu99"
46 define Package
/flent-tools
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/misc
/tc_iterate
$(1)/usr
/sbin
/
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/misc
/wifistats_iterate
$(1)/usr
/sbin
/
52 $(eval
$(call BuildPackage
,flent-tools
))