mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +02:00
volume_key: split python bindings into a subpkg.
This commit is contained in:
parent
9e0f4138a8
commit
4ba0e8cdcc
2 changed files with 12 additions and 2 deletions
1
srcpkgs/volume_key-python
Symbolic link
1
srcpkgs/volume_key-python
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
volume_key
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'volume_key'
|
# Template file for 'volume_key'
|
||||||
pkgname=volume_key
|
pkgname=volume_key
|
||||||
version=0.3.9
|
version=0.3.9
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config python-devel"
|
hostmakedepends="pkg-config python-devel"
|
||||||
makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel 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"
|
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
volume_key-python_package() {
|
||||||
|
short_desc+=" - python bindings"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/python*"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
volume_key-devel_package() {
|
volume_key-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}
|
||||||
|
${sourcepkg}-python3>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.so
|
vmove usr/lib/*.so
|
||||||
|
|
Loading…
Add table
Reference in a new issue