summaryrefslogblamecommitdiff
path: root/user/ntpsec/APKBUILD
blob: 486260e9cbfa1f87ed1c05786ff6777b27aae65e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                  
            









                                                                        
                                                                  









                                               
                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ntpsec
pkgver=1.2.1
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="https://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="0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277  ntpsec-1.2.1.tar.gz"