summaryrefslogtreecommitdiff
path: root/main/iucode-tool/APKBUILD
blob: d4b45c1056cc469ce801f26545514962b57be58c (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
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iucode-tool
pkgver=2.3.1
pkgrel=1
pkgdesc="manipulate microcode update collections for Intel i686 and X86-64"
url="https://gitlab.com/iucode-tool/iucode-tool"
arch="x86 x86_64"
license="GPLv2+"
makedepends="autoconf automake libtool argp-standalone"
subpackages="$pkgname-doc"
source="https://gitlab.com/iucode-tool/iucode-tool/-/archive/v$pkgver/iucode-tool-v$pkgver.tar.gz"
builddir="$srcdir/iucode-tool-v$pkgver"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e6b1d6b6362e129037105b8759f372ff1e3bfacde5525fd58d87a479807c59e0491348f5891bc995aec6bd3cb150401fe10b4beccd5b96742665d735fbf2c911  iucode-tool-v2.3.1.tar.gz"