2018-02-19 02:51:09 +00:00
|
|
|
# Template file for 'volume_key'
|
|
|
|
pkgname=volume_key
|
|
|
|
version=0.3.9
|
2018-04-19 12:25:19 +00:00
|
|
|
revision=4
|
2018-02-19 02:51:09 +00:00
|
|
|
build_style=gnu-configure
|
2018-04-15 20:59:41 +00:00
|
|
|
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>"
|
2018-04-15 20:59:41 +00:00
|
|
|
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
|
|
|
|
|
2018-04-19 12:13:01 +00:00
|
|
|
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"
|
2018-04-19 12:13:01 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}
|
2018-04-19 12:25:19 +00:00
|
|
|
${sourcepkg}-python>=${version}_${revision}"
|
2018-02-19 02:51:09 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|