From 3c70d0155ed8ea4fa1fbc848b1b32482e299ad33 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Fri, 25 Feb 2022 05:07:37 +0100 Subject: [PATCH] oonf-dlep-radio: refactor Makefile (package versioning, downloading) - By this change, we are using downloading .tar.xz (which is default in OpenWrt) Reference: OpenWrt base repository include/download.mk Downloaded tarball size is ~60 kB smaller. - Removed "v" in package naming. Before: oonf-dlep-radio_v0.15.1_arm_cortex-a9_vfpv3-d16.ipk After: oonf-dlep-radio_0.15.1_arm_cortex-a9_vfpv3-d16.ipk Removed stuff, which is no longer needed like PKG_REV. - Switch to AUTORELEASE in PKG_RELEASE Signed-off-by: Josef Schlehofer (cherry picked from commit 56fc0d7226116a5e18b9d1686d71e136465b7dc5) --- oonf-dlep-radio/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/oonf-dlep-radio/Makefile b/oonf-dlep-radio/Makefile index a1b4eb9..c01a851 100644 --- a/oonf-dlep-radio/Makefile +++ b/oonf-dlep-radio/Makefile @@ -1,16 +1,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=oonf-dlep-radio -PKG_VERSION:=v0.15.1 -PKG_REV:=bffb88b040659b237c4c91b6b42dbbb47431750e -PKG_RELEASE:=$(PKG_REV) +PKG_VERSION:=0.15.1 +PKG_RELEASE:=$(AUTORELEASE) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=https://github.com/OLSR/OONF.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MIRROR_HASH:=334047912bbeb3d49874a06cc89fcc8c07a7ee2296d056fc5f047ad51aeb21fa +PKG_SOURCE_URL:=https://github.com/OLSR/OONF.git +PKG_SOURCE_DATE:=2018-03-19 +PKG_SOURCE_VERSION:=bffb88b040659b237c4c91b6b42dbbb47431750e +PKG_MIRROR_HASH:=c85bf1e38483979f44486b6ad90800535fc7039a162c536c239d897b7c68ef70 CMAKE_INSTALL:=1 -- 2.30.2