void-packages/srcpkgs/libblockdev/template

28 lines
992 B
Bash

# Template file for 'libblockdev'
pkgname=libblockdev
version=2.17
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="cryptsetup-devel device-mapper-devel dmraid-devel libbytesize-devel
libglib-devel libkmod-devel libparted-devel libndctl-devel nss-devel
volume_key-devel"
short_desc="A library for manipulating block devices"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/storaged-project/libblockdev"
distfiles="https://github.com/storaged-project/libblockdev/releases/download/${version}-1/libblockdev-${version}.tar.gz"
checksum=49ed2ae9c5edf4f717560bbc9aa43b0a1ce9a0f2836350602fd8c2fc4a81f651
conf_files="/etc/libblockdev/conf.d/10-lvm-dbus.cfg
/etc/libblockdev/conf.d/00-default.cfg"
libblockdev-devel_package() {
depends="libblockdev-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}