netdiscover: Make version apk compatible
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 17:01:23 +0000 (19:01 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 17:28:58 +0000 (19:28 +0200)
Adjust version to be compatible with apk's semantic rules.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
net/netdiscover/Makefile

index 9f930a485779b8d6dea9a3f21c32f25d0d164edb..b581b896800b4d79287a14766ff6c082c019cb87 100644 (file)
@@ -8,15 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netdiscover
-PKG_VERSION:=0.3-pre-beta7
+PKG_REAL_VERSION:=0.3-pre-beta7
+PKG_VERSION:=0.3_beta7
 PKG_RELEASE:=2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-LINUXONLY.tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_REAL_VERSION)-LINUXONLY.tar.gz
 PKG_SOURCE_URL:=@SF/netdiscover
 PKG_HASH:=01c6e090c3b06e374005f7efcead3b5b2f63f47bfb94383c1dbde9abcf1cd8aa
 PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr>
 PKG_LICENSE:=GPL-2.0
 
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
+
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1