diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 20:21:54 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 20:21:54 -0500 |
commit | a1af005c98098e3ba402d200df8b0c23df3c3e80 (patch) | |
tree | 58e026bc520e6acd013400801f3d9451eb7b6629 /user/libblockdev | |
parent | 3d8c6f85bf17ef480cc46435948fee2adc714699 (diff) | |
download | packages-a1af005c98098e3ba402d200df8b0c23df3c3e80.tar.gz packages-a1af005c98098e3ba402d200df8b0c23df3c3e80.tar.bz2 packages-a1af005c98098e3ba402d200df8b0c23df3c3e80.tar.xz packages-a1af005c98098e3ba402d200df8b0c23df3c3e80.zip |
user/libblockdev: new package
Diffstat (limited to 'user/libblockdev')
-rw-r--r-- | user/libblockdev/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libblockdev/APKBUILD b/user/libblockdev/APKBUILD new file mode 100644 index 000000000..5eb8347f0 --- /dev/null +++ b/user/libblockdev/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libblockdev +pkgver=2.18 +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="65e2f795ced3e902af889f3bd9e303234e1611fb25555123b4edaf0b1e3aca24d399422f96eb0694ada025e57ddeb207f60c8666d0640110e228cfb8da92d5ab libblockdev-2.18.tar.gz" |