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