svox: Make version apk compatible
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 18:54:43 +0000 (20:54 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 18:54:43 +0000 (20:54 +0200)
Adjust PKG_VERSION to be compatible with apk's semantic rules.

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

sound/svox/Makefile

index e399b995352da9f0bf9c5c7021e163771972d749..113cd17b07e8c740e1fd5ef57ff52743cdb76bf3 100644 (file)
@@ -8,13 +8,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=svox
-PKG_VERSION:=1.0+git20130326
+PKG_REAL_VERSION:=1.0+git20130326
+PKG_VERSION:=$(subst +git,.,$(PKG_REAL_VERSION))
 PKG_RELEASE:=3
 
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
+PKG_SOURCE:=$(PKG_NAME)_$(PKG_REAL_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox
 PKG_HASH:=337b25e6ccb3764f0df1e176470b883c90e40e98840d4133340fcc89eb3cea0c
 
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
+
 PKG_MAINTAINER:=Alessandro Di Marco <dmr@ethzero.com>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=