volume_key: split python bindings into a subpkg.
This commit is contained in:
parent
9e0f4138a8
commit
4ba0e8cdcc
|
@ -0,0 +1 @@
|
|||
volume_key
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'volume_key'
|
||||
pkgname=volume_key
|
||||
version=0.3.9
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config python-devel"
|
||||
makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python-devel"
|
||||
|
@ -16,9 +16,18 @@ 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}"
|
||||
depends="${sourcepkg}>=${version}_${revision}
|
||||
${sourcepkg}-python3>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
|
|
Loading…
Reference in New Issue