[package] add fowsr (#6952)
[openwrt/svn-archive/archive.git] / utils / fowsr / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fowsr
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=20100323
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
15 PKG_SOURCE_URL:=http://fowsr.googlecode.com/files
16 PKG_MD5SUM:=74456362f8256a81659ef64400d84352
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/fowsr
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=+libusb
24 TITLE:=Fine Offset Wireless Weather Station Reader
25 URL:=http://fowsr.googlecode.com/
26 endef
27
28 define Package/fowsr/description
29 fowsr is a USB Data Collector application for WH1080 compatible
30 weather stations.
31 Output formats includes Wunderground.com and pywws.
32 See http://www.foshk.com for details and download of the
33 EasyWeather application.
34 All weather stations that can use the EasyWeather application
35 will work with this software.
36 endef
37
38 CONFIGURE_ARGS += \
39 --with-linux-headers="$(LINUX_DIR)" \
40
41 define Package/fowsr/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fowsr $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,fowsr))