summaryrefslogtreecommitdiff
path: root/testing/ima-evm-utils/APKBUILD
blob: 6f7825f3a68045c750b0d76a120b55f80d4b41fe (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Contributor: Petr Vorel <petr.vorel@gmail.com>
# Maintainer: Petr Vorel <petr.vorel@gmail.com>
pkgname=ima-evm-utils
pkgver=1.3.2
pkgrel=0
pkgdesc="Linux Integrity Measurement Architecture (IMA) Extended Verification Module (EVM) tools"
url="https://sourceforge.net/p/linux-ima/wiki/Home/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	attr-dev
	asciidoc
	autoconf
	automake
	bash
	diffutils
	docbook-xsl
	keyutils-dev
	libtool
	libxslt
	linux-headers
	openssl-dev
	tpm2-tss-dev
	xxd
	"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

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

check() {
	make check
}

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

sha512sums="af96935f953fbec8cdd40ba1a24001fae916633df03f9dee1e96775baec0ffea21a7a13798b3e3c3f375fd493a65fe65b5357887890b46cac0c4dcca5a5b79db  ima-evm-utils-1.3.2.tar.gz"