648dac0029c57dc6dafa4f249fc277290df56f97
[openwrt/svn-archive/archive.git] / net / bing / Makefile
1 #
2 # Copyright (C) 2006 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:=bing
12 PKG_VERSION:=1.3.5
13 PKG_RELEASE:=0
14
15 PKG_SOURCE:=$(PKG_NAME)_src-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://fgouget.free.fr/bing/
17 PKG_MD5SUM:=60aaee55277672d0cc163bf3f0b3d53f
18 PKG_CAT:=zcat
19 TAR_OPTIONS += || true
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/bing
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=bing bandwidth measuring utility
29 DESCRIPTION:=\
30 bing evaluates the raw bandwidth of a link (PSTN, xDSL, Cable ...)
31 URL:=http://fgouget.free.fr/bing/
32 endef
33
34 define Build/Compile
35 $(call Build/Compile/Default)
36 endef
37
38 define Package/bing/install
39 install -d -m0755 $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/bing $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,bing))