aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubus
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-21 22:25:41 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-22 16:42:21 +0100
commitc7c1cf5618b6ca983c20510814b762eeab4937e5 (patch)
treedc5f7a28f55a6a102dd0ab3a56c325cf54669a60 /package/system/ubus
parent43c09f2885b413aa44a65ddf85778e40349f2199 (diff)
downloadupstream-c7c1cf5618b6ca983c20510814b762eeab4937e5.tar.gz
upstream-c7c1cf5618b6ca983c20510814b762eeab4937e5.tar.bz2
upstream-c7c1cf5618b6ca983c20510814b762eeab4937e5.zip
treewide: clean up and unify PKG_VERSION for git based downloads
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/system/ubus')
-rw-r--r--package/system/ubus/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile
index de57006e42..fadb436863 100644
--- a/package/system/ubus/Makefile
+++ b/package/system/ubus/Makefile
@@ -1,15 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ubus
-PKG_VERSION:=2016-10-12
-PKG_RELEASE=$(PKG_SOURCE_VERSION)
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(LEDE_GIT)/project/ubus.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_DATE:=2016-10-12
PKG_SOURCE_VERSION:=312448a5b147c221836827a7a641e76a4514db44
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
-PKG_MIRROR_HASH:=0d572863d46c9d6e89a573ed5db671f4eaff311df6fa5e8fa83b8f07e7dc928d
+PKG_MIRROR_HASH:=adeeae238deaac2b6af77c2e4473febdcbc0f1c256734b2ff019c76b2f3f2aa6
CMAKE_INSTALL:=1
PKG_LICENSE:=LGPL-2.1