void-packages/srcpkgs/libblockdev/template

29 lines
1.1 KiB
Bash
Raw Normal View History

2018-04-15 22:59:57 +02:00
# Template file for 'libblockdev'
pkgname=libblockdev
2018-06-20 13:28:12 +02:00
version=2.18
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-06-20 13:28:12 +02:00
libglib-devel libkmod-devel libndctl-devel libparted-devel nss-devel
volume_key-devel libyaml-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"
2018-06-20 13:28:12 +02:00
changelog="https://raw.githubusercontent.com/storaged-project/libblockdev/master/NEWS.rst"
2018-04-15 22:59:57 +02:00
distfiles="https://github.com/storaged-project/libblockdev/releases/download/${version}-1/libblockdev-${version}.tar.gz"
2018-06-20 13:28:12 +02:00
checksum=705d82a5a146c71a1f1159d4579648662f7e4414297eb5a2b3e7199d72bb73a8
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"
}
}