mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
pygtk: fix cross build and use generic python-config wrapper.
This commit is contained in:
parent
a6222ce29e
commit
b144622f78
1 changed files with 1 additions and 5 deletions
|
@ -19,14 +19,10 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# XXX share python-config wrapper for all pkgs.
|
ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc}
|
||||||
# create a python-config wrapper to fake --includes
|
|
||||||
install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc}
|
|
||||||
export PATH=${wrksrc}:$PATH
|
|
||||||
fi
|
fi
|
||||||
env PYTHON=python ./configure ${configure_args}
|
env PYTHON=python ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
|
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue