summaryrefslogtreecommitdiff
path: root/user/libblockdev/APKBUILD
blob: 85b12e42e7d8632ccee3501f09ca07df4c402f2e (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libblockdev
pkgver=2.24
pkgrel=1
pkgdesc="Library for manipulating block devices"
url="http://storaged.org/libblockdev/"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="cryptsetup-dev dmraid-dev eudev-dev glib-dev kmod-dev lvm2-dev
	libbytesize-dev nss-dev parted-dev python3 util-linux-dev yaml-dev
	volume_key-dev"
subpackages="$pkgname-dev"
source="https://github.com/storaged-project/libblockdev/releases/download/$pkgver-1/libblockdev-$pkgver.tar.gz"

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

check() {
	make check
}

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

sha512sums="92b7d734ea2cefbb67e626bef369d6785ba2a4bbbf09a4f59345febe977bc32319fb44f38b3c3177b8652abbc1f87b6cc76d41fdd2d70783c1c168049bdcb1d6  libblockdev-2.24.tar.gz"