[packages] fowsr: update to 1.0-20110904
authorStephen Walker <stephendwalker@gmail.com>
Fri, 9 Mar 2012 04:24:36 +0000 (04:24 +0000)
committerStephen Walker <stephendwalker@gmail.com>
Fri, 9 Mar 2012 04:24:36 +0000 (04:24 +0000)
SVN-Revision: 30859

utils/fowsr/Makefile

index 2de6499..353bdb7 100644 (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))