luv: Make version apk compatible
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 18:53:44 +0000 (20:53 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 18:53:44 +0000 (20:53 +0200)
Make version apk compatible.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit f95f1ba47a2d742755612c41f7b25867c31dd7bb)

lang/luv/Makefile

index b0e43f5bf41265b5ad2931a47f444795c0a6d6a1..bf9cfeca612742fbdb664ebde06a38a1c857ce14 100644 (file)
@@ -1,13 +1,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=luv
-PKG_VERSION:=1.40.0-0
+PKG_REAL_VERSION:=1.40.0-0
+PKG_VERSION:=$(subst -,.,$(PKG_REAL_VERSION))
 PKG_RELEASE:=2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/luvit/luv/releases/download/$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_REAL_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/luvit/luv/releases/download/$(PKG_REAL_VERSION)
 PKG_HASH:=24473a081c3928eec2a352369cbafda97059574f4a4276861274473e7c7d17a0
 
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
+
 PKG_MAINTAINER:=Morteza Milani <milani@pichak.co>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE