2018-04-15 22:59:57 +02:00
|
|
|
# Template file for 'libblockdev'
|
|
|
|
pkgname=libblockdev
|
2018-04-24 22:44:26 +02:00
|
|
|
version=2.17
|
2018-04-15 22:59:57 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config python3"
|
|
|
|
makedepends="cryptsetup-devel device-mapper-devel dmraid-devel libbytesize-devel
|
2018-04-24 22:44:26 +02:00
|
|
|
libglib-devel libkmod-devel libparted-devel libndctl-devel nss-devel
|
|
|
|
volume_key-devel"
|
2018-04-15 22:59:57 +02:00
|
|
|
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"
|
2018-04-24 22:44:26 +02:00
|
|
|
checksum=49ed2ae9c5edf4f717560bbc9aa43b0a1ce9a0f2836350602fd8c2fc4a81f651
|
2018-04-15 22:59:57 +02:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|