pygtk: unbreak cross: use XBPS_WRAPPERDIR.
This commit is contained in:
parent
2e38798e33
commit
d53e3919ad
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,7 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc}
|
ln -s ${XBPS_WRAPPERDIR}/python-config ${wrksrc}
|
||||||
fi
|
fi
|
||||||
env PYTHON=python ./configure ${configure_args}
|
env PYTHON=python ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,7 @@ post_install() {
|
||||||
|
|
||||||
pygtk-devel_package() {
|
pygtk-devel_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
depends="python-devel gtk+-devel python-gobject2-devel python-cairo-devel
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
libglade-devel ${sourcepkg}>=${version}_${revision}"
|
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pycompile_module="demos"
|
pycompile_module="demos"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue