e45e971ecd
changed name of cache file to '/var/fowsr.dat' - added CWS_print_decoded_data() method - added debug print outs as command line options - added patch for checking valid fixed block data (thanks Timo Koivunen!) - added XML-format output file - added pywws format table - added CWS_write_byte() method - added CWS_write_block() method - added ws format definitions for unit settings - added ws format definitions for unit display settings - added ws format definitions for unit alarm settings Signed-off-by: Arne-Jørgen Auberg arne.jorgen.auberg@gmail.com git-svn-id: svn://svn.openwrt.org/openwrt/packages@22428 3c298f89-4303-0410-b956-a3cf2f4a3e73
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fowsr
|
|
PKG_VERSION:=1.0
|
|
PKG_RELEASE:=20100718
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
|
|
PKG_SOURCE_URL:=http://fowsr.googlecode.com/files
|
|
PKG_MD5SUM:=34a53f0ba60a62636feef3e09d9e4312
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fowsr
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libusb
|
|
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.
|
|
Output formats includes XML, Wunderground.com and pywws.
|
|
endef
|
|
|
|
CONFIGURE_ARGS += \
|
|
--with-linux-headers="$(LINUX_DIR)" \
|
|
|
|
define Package/fowsr/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fowsr $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wunderground.sh $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pywws.sh $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/xml.sh $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fowsr))
|