Author: nbd
Date: 2015-09-11 18:35:32 +0200 (Fri, 11 Sep 2015)
New Revision: 46868

Modified:
   trunk/package/utils/ugps/Makefile
Log:
ugps: fix filename to eliminate build problems

due to ordering PKG_SOURCE_VERSION is not defined leading
to a filename "ugps-.tar.bz2"
This errors out when an older version is in the dl/ dir (or LOCALMIRROR)

fix order and use uhttpd file naming scheme to visibly include date

Signed-off-by: Dirk Neukirchen <[email protected]>

Modified: trunk/package/utils/ugps/Makefile
===================================================================
--- trunk/package/utils/ugps/Makefile   2015-09-11 16:35:17 UTC (rev 46867)
+++ trunk/package/utils/ugps/Makefile   2015-09-11 16:35:32 UTC (rev 46868)
@@ -11,11 +11,11 @@
 PKG_VERSION:=2015-08-17
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_URL:=git://git.openwrt.org/project/ugps.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=971e6703eb9bed936cc62cd335105bd2acca14ef
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.bz2
 
 PKG_MAINTAINER:=John Crispin <[email protected]>
 PKG_LICENSE:=GPL-2.0+
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to