summaryrefslogtreecommitdiff
path: root/package/system/ubus/Makefile
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/Makefile
parent43c09f2885b413aa44a65ddf85778e40349f2199 (diff)
downloadmtk-20170518-c7c1cf5618b6ca983c20510814b762eeab4937e5.zip
mtk-20170518-c7c1cf5618b6ca983c20510814b762eeab4937e5.tar.gz
mtk-20170518-c7c1cf5618b6ca983c20510814b762eeab4937e5.tar.bz2
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/Makefile')
-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 de57006..fadb436 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