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