ntpd: Supports apk version semantics

See: https://github.com/openwrt/packages/issues/23706

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
pull/25340/head
Hirokazu MORIKAWA 2024-11-13 09:54:16 +09:00 committed by Rosen Penev
parent c667ae2efb
commit de9f4eb324
1 changed files with 5 additions and 3 deletions

View File

@ -8,12 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ntp
PKG_VERSION:=4.2.8p17
PKG_RELEASE:=2
PKG_REALVERSION:=4.2.8p17
PKG_VERSION:=$(subst p,_p,$(PKG_REALVERSION))
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_REALVERSION).tar.gz
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
PKG_HASH:=103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REALVERSION)
PKG_LICENSE:=NTP
PKG_LICENSE_FILES:=COPYRIGHT html/copyright.html