summaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2021-05-19 22:39:35 +0200
committerPaul Spooren <mail@aparcar.org>2021-05-25 23:48:00 +0200
commit6687a2483a091990a803aadad5637b2f6a8e69c1 (patch)
treeb5f069c78fc67ef0c723670e195926dbf23766db /package/system
parent54070a1f5cf355e908425d4a5787bb05bee22f25 (diff)
downloadopenwrt-6687a2483a091990a803aadad5637b2f6a8e69c1.tar.gz
openwrt-6687a2483a091990a803aadad5637b2f6a8e69c1.tar.bz2
openwrt-6687a2483a091990a803aadad5637b2f6a8e69c1.zip
opkg: use $(PROJECT_GIT), $(AUTORELEASE) and SPDX
1) Use SPDX license headers to be machine readable. 2) Update copyright to 2021. 3) Use $(PROJECT_GIT) instead of manually specifying the git url. 4) Use $(AUTORELEASE) to automatically set the correct PKG_RELEASE. Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'package/system')
-rw-r--r--package/system/opkg/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index fb7d8667c6..99234978a1 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -1,19 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
#
-# Copyright (C) 2006-2015 OpenWrt.org
-# Copyright (C) 2016-2017 LEDE Project
+# Copyright (C) 2006-2021 OpenWrt.org
#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=opkg
-PKG_RELEASE:=1
+PKG_RELEASE:=$(AUTORELEASE)
PKG_FLAGS:=essential
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git
+PKG_SOURCE_URL:=$(PROJECT_GIT)/project/opkg-lede.git
PKG_SOURCE_DATE:=2021-03-15
PKG_SOURCE_VERSION:=5936c4f9660248284e8a9b040ea3153d3ea888de
PKG_MIRROR_HASH:=b873c209baaf4f150c89646d58e4a0072f807d24b02c320ab8c7ae9180c13240