oonf-dlep-radio: refactor define Package/oonf-dlep-radio
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 25 Feb 2022 04:22:41 +0000 (05:22 +0100)
committerNick Hainke <vincent@systemli.org>
Sat, 26 Feb 2022 12:07:35 +0000 (13:07 +0100)
- Why there was oonf-git? WTF?
- Use two spaces instead of tabs

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 282af3f8bce72dc976ec28b9d05dbc1e665489ee)

oonf-dlep-radio/Makefile

index c01a85166a92e08a8b437295fedc8818368f5a61..2f59292e936886ab2d70243c4cbf5d9cae01ef81 100644 (file)
@@ -10,6 +10,8 @@ PKG_SOURCE_DATE:=2018-03-19
 PKG_SOURCE_VERSION:=bffb88b040659b237c4c91b6b42dbbb47431750e
 PKG_MIRROR_HASH:=c85bf1e38483979f44486b6ad90800535fc7039a162c536c239d897b7c68ef70
 
+PKG_MAINTAINER:=Henning Rogge <hrogge@gmail.com>
+
 CMAKE_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -28,19 +30,13 @@ CMAKE_OPTIONS=-D OONF_NO_WERROR:Bool=true \
               -D INSTALL_CMAKE_DIR:Path=lib/oonf \
               -D CMAKE_PREFIX_PATH=$(STAGING_DIR)/usr
 
-define Package/oonf-git/template
-       SECTION:=net
-       CATEGORY:=Network
-       MAINTAINER:=Henning Rogge <hrogge@gmail.com>
-       SUBMENU:=OLSR.org network framework
-       URL:=http://www.olsr.org/
-endef
-
 define Package/oonf-dlep-radio
-       $(call Package/oonf-git/template)
-       TITLE:= Build DLEP Radio Agent
-       DEPENDS:=+librt +libnl-tiny +libuci +oonf-init-scripts
-       VERSION:=$(PKG_VERSION)
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=OLSR.org network framework
+  URL:=http://www.olsr.org/
+  TITLE:=Build DLEP Radio Agent
+  DEPENDS:=+librt +libnl-tiny +libuci +oonf-init-scripts
 endef
 
 Build/Compile=$(call Build/Compile/Default,dlep_radio_static)