aboutsummaryrefslogblamecommitdiffstats
path: root/testing/sedutil/APKBUILD
blob: dd12c7b7a3e2ac9ad41c8c5efdb1ee1cef2bfbce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                              

               








                                                                                                       


























                                                                                                                                                                    
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=sedutil
pkgver=1.15.1
pkgrel=0
pkgdesc="DTA sedutil Self encrypting drive software"
url="https://github.com/Drive-Trust-Alliance/sedutil"
arch="all"
license="GPL-3.0-or-later"
options="!check" # requires hardware
makedepends="automake autoconf libtool linux-headers"
subpackages="$pkgname-doc"
source="sedutil-$pkgver.tar.gz::https://github.com/Drive-Trust-Alliance/sedutil/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	cat > linux/GitVersion.sh <<EOF
#!/bin/sh
echo "#define GIT_VERSION \"$pkgver\""
EOF
	autoreconf -vi
}

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

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

sha512sums="9708ef307b457fad2f45735b044685ac6731c353af428c49ff0e312190f3bdc521bcfa71a9e1239d9ffe637d18293a99b09b7e001df96494cdce53f5442750f1  sedutil-1.15.1.tar.gz"