27 lines
869 B
Bash
27 lines
869 B
Bash
# 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
|
|
hostmakedepends+=" python"
|
|
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
fi
|
|
|
|
volume_key-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|