luv: Make version apk compatible
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 16 Nov 2024 11:56:22 +0000 (13:56 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 06:46:26 +0000 (08:46 +0200)
Make version apk compatible.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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