summaryrefslogtreecommitdiff
path: root/package/system/opkg
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/opkg
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/opkg')
-rw-r--r--package/system/opkg/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index d97f229..506677c 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -11,17 +11,14 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=opkg
-PKG_REV:=9c97d5ecd795709c8584e972bfdf3aee3a5b846d
-PKG_VERSION:=$(PKG_REV)
PKG_RELEASE:=15
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_SUBDIR:=opkg-$(PKG_VERSION)
PKG_SOURCE_URL:=http://git.yoctoproject.org/git/opkg
-PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.xz
-PKG_MIRROR_HASH:=7accfabfb5cc1966b038b40130a50f3bbb4bdff4273150e9394c1ea8d7111d4e
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_DATE:=2011-04-08
+PKG_SOURCE_VERSION:=9c97d5ecd795709c8584e972bfdf3aee3a5b846d
+PKG_MIRROR_HASH:=55e05270f3eb2f3aff5d3791463ce3d13b8197ca7b301cd58e731a249552c48f
+PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES = autogen.sh aclocal.m4