void-packages/srcpkgs/volume_key/template

28 lines
869 B
Bash
Raw Normal View History

2018-02-19 03:51:09 +01:00
# Template file for 'volume_key'
pkgname=volume_key
version=0.3.9
revision=1
build_style=gnu-configure
short_desc="Library for manipulating storage volume encryption keys"
hostmakedepends="pkg-config"
makedepends="libblkid-devel glib-devel cryptsetup-devel nss-devel gpgme-devel python-devel"
maintainer="Andrew Benson <abenson@gmail.com>"
license="GPL-3"
homepage="https://pagure.io/volume_key"
distfiles="http://releases.pagure.org/volume_key/volume_key-${version}.tar.xz"
checksum=450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6
if [ -n "$CROSS_BUILD" ]; then
2018-03-06 06:03:42 +01:00
hostmakedepends+=" python"
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
2018-02-19 03:51:09 +01:00
fi
volume_key-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}