Signed-off-by: Jan Hák <jan.hak@nic.cz>
include $(TOPDIR)/rules.mk
+VERSION:=3.1
+RELEASE_DATE:=20240808
+
PKG_NAME:=libedit
-PKG_VERSION:=20240808-3.1
+PKG_VERSION:=$(RELEASE_DATE).$(VERSION)
PKG_RELEASE:=1
PKG_MAINTAINER:=Daniel Salzman <daniel.salzman@nic.cz>
PKG_LICENSE:=BSD-3-Clause
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(RELEASE_DATE)-$(VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(RELEASE_DATE)-$(VERSION).tar.gz
PKG_SOURCE_URL:=https://thrysoee.dk/editline/
PKG_HASH:=5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f