33 lines
981 B
Bash
33 lines
981 B
Bash
# Template file for 'volume_key'
|
|
pkgname=volume_key
|
|
version=0.3.10
|
|
revision=2
|
|
build_style=gnu-configure
|
|
make_build_args="PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
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=c5729de7e33e39c8674e9aae2337d2719f9298d6499f1656d0d25a065a7e98a7
|
|
|
|
volume_key-python_package() {
|
|
lib32disabled=yes
|
|
pycompile_module="volume_key.py"
|
|
short_desc+=" - Python2 bindings"
|
|
pkg_install() {
|
|
vmove "usr/lib/python2*"
|
|
}
|
|
}
|
|
|
|
volume_key-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|