28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'libblockdev'
|
|
pkgname=libblockdev
|
|
version=2.20
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="cryptsetup-devel device-mapper-devel dmraid-devel libbytesize-devel
|
|
libglib-devel libkmod-devel libndctl-devel libparted-devel nss-devel
|
|
volume_key-devel libyaml-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"
|
|
changelog="https://raw.githubusercontent.com/storaged-project/libblockdev/master/NEWS.rst"
|
|
distfiles="https://github.com/storaged-project/libblockdev/releases/download/${version}-1/libblockdev-${version}.tar.gz"
|
|
checksum=f87873aefebbd43976b73b823cd6e53f15e4e364611bd288b2886c2fcbb45a24
|
|
conf_files="/etc/libblockdev/conf.d/10-lvm-dbus.cfg
|
|
/etc/libblockdev/conf.d/00-default.cfg"
|
|
|
|
libblockdev-devel_package() {
|
|
depends="libblockdev-${version}_${revision} glib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|