[packages] fowsr: update to 1.0-20110904

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30859 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2012-03-09 04:24:36 +00:00
parent 7b62f2c465
commit c4502e1988

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2010 OpenWrt.org
# Copyright (C) 2010-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -8,12 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fowsr
PKG_VERSION:=1.0
PKG_RELEASE:=20100718
PKG_VERSION:=1.0-20110904
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://fowsr.googlecode.com/files
PKG_MD5SUM:=34a53f0ba60a62636feef3e09d9e4312
PKG_MD5SUM:=3dbe93a59d85bf89f9c1d20d54f5e983
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.0
include $(INCLUDE_DIR)/package.mk
@ -31,15 +33,12 @@ define Package/fowsr/description
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/
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/{fowsr,pwsweather,pywws,wunderground,xml}.sh \
$(1)/usr/bin/
endef
$(eval $(call BuildPackage,fowsr))