[packages] fowsr: update to 1.0-20110904
[openwrt/svn-archive/archive.git] / utils / fowsr / Makefile
1 #
2 # Copyright (C) 2010-2012 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-20110904
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://fowsr.googlecode.com/files
16 PKG_MD5SUM:=3dbe93a59d85bf89f9c1d20d54f5e983
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.0
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/fowsr
23 SECTION:=utils
24 CATEGORY:=Utilities
25 DEPENDS:=+libusb
26 TITLE:=Fine Offset Wireless Weather Station Reader
27 URL:=http://fowsr.googlecode.com/
28 endef
29
30 define Package/fowsr/description
31 fowsr is a USB Data Collector application for WH1080 compatible
32 weather stations.
33 Output formats includes XML, Wunderground.com and pywws.
34 endef
35
36 define Package/fowsr/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fowsr $(1)/usr/bin/
39 $(INSTALL_BIN) \
40 $(PKG_BUILD_DIR)/{fowsr,pwsweather,pywws,wunderground,xml}.sh \
41 $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,fowsr))