2010-03-27 17:21:02 +00:00
|
|
|
#
|
2012-03-09 04:24:36 +00:00
|
|
|
# Copyright (C) 2010-2012 OpenWrt.org
|
2010-03-27 17:21:02 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fowsr
|
2012-03-09 04:24:36 +00:00
|
|
|
PKG_VERSION:=1.0-20110904
|
|
|
|
PKG_RELEASE:=1
|
2010-03-27 17:21:02 +00:00
|
|
|
|
2012-03-09 04:24:36 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-03-27 17:21:02 +00:00
|
|
|
PKG_SOURCE_URL:=http://fowsr.googlecode.com/files
|
2012-03-09 04:24:36 +00:00
|
|
|
PKG_MD5SUM:=3dbe93a59d85bf89f9c1d20d54f5e983
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.0
|
2010-03-27 17:21:02 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/fowsr
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2013-01-29 18:09:28 +00:00
|
|
|
DEPENDS:=+libusb-compat
|
2010-03-27 17:21:02 +00:00
|
|
|
TITLE:=Fine Offset Wireless Weather Station Reader
|
|
|
|
URL:=http://fowsr.googlecode.com/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fowsr/description
|
|
|
|
fowsr is a USB Data Collector application for WH1080 compatible
|
|
|
|
weather stations.
|
2010-07-31 11:39:06 +00:00
|
|
|
Output formats includes XML, Wunderground.com and pywws.
|
2010-03-27 17:21:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fowsr/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fowsr $(1)/usr/bin/
|
2012-03-09 04:24:36 +00:00
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_BUILD_DIR)/{fowsr,pwsweather,pywws,wunderground,xml}.sh \
|
|
|
|
$(1)/usr/bin/
|
2010-03-27 17:21:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,fowsr))
|