aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-07-20 03:20:36 +0300
committerTimo Teräs <timo.teras@iki.fi>2019-07-20 03:22:18 +0300
commit9c1a404fe5910d37d5a12cdb5f46c957ce7cad79 (patch)
tree4166f5f79247a75aab1418b8721df809a051ce02
parent59ef7a8da8acf55f984a0b49c3bb5c19a272028a (diff)
downloadaports-9c1a404fe5910d37d5a12cdb5f46c957ce7cad79.tar.gz
aports-9c1a404fe5910d37d5a12cdb5f46c957ce7cad79.tar.bz2
aports-9c1a404fe5910d37d5a12cdb5f46c957ce7cad79.tar.xz
testing/sedutil: new aport
DTA sedutil Self encrypting drive software https://github.com/Drive-Trust-Alliance/sedutil
-rw-r--r--testing/sedutil/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/sedutil/APKBUILD b/testing/sedutil/APKBUILD
new file mode 100644
index 0000000000..05a3bc4448
--- /dev/null
+++ b/testing/sedutil/APKBUILD
@@ -0,0 +1,41 @@
+# 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"
+builddir="$srcdir/sedutil-$pkgver"
+
+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"