summaryrefslogblamecommitdiff
path: root/user/sntpd/APKBUILD
blob: 5171813e724c9ab08db2911b170679ebef37a29a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                  
          





                                                                                  
              
                          
                                                                                             

                    











                                           

                                  











                                      

                                                                                                                                                              
# Maintainer: Samuel Holland <samuel@sholland.org>
pkgname=sntpd
pkgver=3.0
pkgrel=0
pkgdesc="A small SNTP client for UNIX systems, implementing RFC 1305 and RFC 4330"
url="https://github.com/troglobit/sntpd"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/troglobit/sntpd/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
	select.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-debug \
		--enable-replay \
		--with-adjtimex \
		--with-ntpclient \
		--without-systemd
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="664e95e590b329dc847275c99829711c159bf91fadb2a90989c2706fbd8b074480146a7a05c5532a1bbfcaebd4b489262a44e418fa8ac57362c4f7db659fd1ea  sntpd-3.0.tar.gz
966ae71a41f31b37b0be8dc361471f72d085ca06161deeedc37cc82d6b80852ca79b37bfc8f9948988bedaeba6a77a0b4edf19848a12e8107ec13ab86524c5dd  select.patch"