mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
vigra: add explicit python_version
This commit is contained in:
parent
12e5705813
commit
c2c7573eaa
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
pkgname=vigra
|
pkgname=vigra
|
||||||
version=1.11.1
|
version=1.11.1
|
||||||
revision=5
|
revision=5
|
||||||
|
wrksrc="${pkgname}-Version-$(echo $version | tr '.' '-')"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWITH_OPENEXR=1"
|
configure_args="-DWITH_OPENEXR=1"
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
|
@ -13,7 +14,7 @@ license="MIT"
|
||||||
homepage="https://ukoethe.github.io/vigra/"
|
homepage="https://ukoethe.github.io/vigra/"
|
||||||
distfiles="https://github.com/ukoethe/vigra/archive/Version-${version//./-}.tar.gz"
|
distfiles="https://github.com/ukoethe/vigra/archive/Version-${version//./-}.tar.gz"
|
||||||
checksum=b2718250d28baf1932fcbe8e30f7e4d146e751ad0e726e375a72a0cdb4e3250e
|
checksum=b2718250d28baf1932fcbe8e30f7e4d146e751ad0e726e375a72a0cdb4e3250e
|
||||||
wrksrc=$pkgname-Version-${version//./-}
|
python_version=2 #unverified
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -24,6 +25,7 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
vmkdir usr/share/$pkgname
|
vmkdir usr/share/$pkgname
|
||||||
mv $DESTDIR/usr/doc $DESTDIR/usr/share/$pkgname/doc
|
mv $DESTDIR/usr/doc $DESTDIR/usr/share/$pkgname/doc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue