27 lines
976 B
Bash
27 lines
976 B
Bash
# Template file for 'libblockdev'
|
|
pkgname=libblockdev
|
|
version=2.16
|
|
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 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=d841ae446cf6dc545e4f7386e13dfd8c3e07c4b6a962536b7c0fcd20e3a4d9e4
|
|
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"
|
|
}
|
|
}
|