aboutsummaryrefslogtreecommitdiffstats
path: root/testing/adjtimex/APKBUILD
blob: d29289b16dbda3af7cd4ab2a179732238ad9bc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=adjtimex
pkgver=1.29
pkgrel=0
pkgdesc="Allows configuration of kernel time variables"
url="https://github.com/rogers0/adjtimex"
options="!check" # No tests
arch="all"
subpackages="$pkgname-doc"
license="GPL-2.0-or-later"
source="http://ftp.debian.org/debian/pool/main/a/adjtimex/adjtimex_$pkgver.orig.tar.gz
	10-Makefile.patch"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="
5a48cdc538866c06562f62e369c08d60978c791ed91565262c0179c6fa25dd343963992d00e10f32475fdc00b458f81cf9c61adbfa9e1b7a8d4981ebeeff5649  adjtimex_1.29.orig.tar.gz
f75ede467d2b089306aa0bf08613c835d040f019eb74987869dd0495d2768db66f718a977fda6600238ba1a3582137d7035dfc900d10fd8531e5fbc091b53d93  10-Makefile.patch
"