void-packages/srcpkgs/volume_key/template

36 lines
1 KiB
Bash
Raw Normal View History

2018-02-19 02:51:09 +00:00
# Template file for 'volume_key'
pkgname=volume_key
version=0.3.9
revision=4
2018-02-19 02:51:09 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config python-devel"
makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python-devel"
2018-02-19 02:51:09 +00:00
short_desc="Library for manipulating storage volume encryption keys"
maintainer="Andrew Benson <abenson@gmail.com>"
license="GPL-3.0-or-later"
2018-02-19 02:51:09 +00:00
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 05:03:42 +00:00
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
2018-02-19 02:51:09 +00:00
fi
volume_key-python_package() {
short_desc+=" - python bindings"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/python*"
}
}
2018-02-19 02:51:09 +00:00
volume_key-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}
${sourcepkg}-python>=${version}_${revision}"
2018-02-19 02:51:09 +00:00
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}