summaryrefslogblamecommitdiff
path: root/user/ntpsec/APKBUILD
blob: f95a7ed3d94432f5c1f3455710bcd8c28a3b51f4 (plain) (tree)

























                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ntpsec
pkgver=1.1.9
pkgrel=0
pkgdesc="Secure implementation of Network Time Protocol (NTP)"
url="https://www.ntpsec.org/"
arch="all"
options="!check"  # No test suite.
license="NTP AND BSD-2-Clause AND BSD-3-Clause AND MIT"
depends="python3 py3-psutil"
makedepends="asciidoctor bison libbsd-dev libexecinfo-dev m4 openssl-dev
	python3-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.ntpsec.org/pub/releases/ntpsec-$pkgver.tar.gz"

build() {
	python3 waf configure --prefix=/usr
	python3 waf build
}

package() {
	python3 waf install --destdir="$pkgdir"
}

sha512sums="e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b  ntpsec-1.1.9.tar.gz"