ugps: fix filename to eliminate build problems
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 11 Sep 2015 16:35:32 +0000 (16:35 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 11 Sep 2015 16:35:32 +0000 (16:35 +0000)
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 <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46868 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/utils/ugps/Makefile

index 1c8ac6f..e30578f 100644 (file)
@@ -11,11 +11,11 @@ PKG_NAME:=ugps
 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 <blogic@openwrt.org>
 PKG_LICENSE:=GPL-2.0+