summaryrefslogblamecommitdiff
path: root/user/libblockdev/APKBUILD
blob: 98eeda9dd14011fa2c67859a8bd8329431dacb59 (plain) (tree)
1
2
3
4


                                                  
           


































                                                                                                               
                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libblockdev
pkgver=2.21
pkgrel=0
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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-nvdimm
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="7e6e12716e18c5e48f3b2207f132c242d99ce540f55de3b6932ac3427cb532d9074358c828d9702df71068a8454c642a4c0ff96e62a567ed1c1247c59ece432b  libblockdev-2.21.tar.gz"