mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/cryptsetup: Add tests
This commit is contained in:
parent
c0b2d6f20b
commit
b7ff6fe70c
@ -6,12 +6,14 @@ pkgrel=0
|
||||
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
|
||||
url="https://gitlab.com/cryptsetup/cryptsetup"
|
||||
arch="all"
|
||||
options="!checkroot"
|
||||
license="GPL-2.0-or-later"
|
||||
depends=""
|
||||
makedepends_build=""
|
||||
makedepends_host="lvm2-dev libressl-dev popt-dev util-linux-dev
|
||||
json-c-dev argon2-dev"
|
||||
makedepends="$makedepends_build $makedepends_host"
|
||||
checkdepends="device-mapper sharutils which"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
||||
source="https://www.kernel.org/pub/linux/utils/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
|
||||
flush-stdout.patch
|
||||
@ -34,6 +36,11 @@ build() {
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user