pygtk: unbreak cross: use XBPS_WRAPPERDIR.

This commit is contained in:
Juan RP 2015-01-28 08:21:31 +01:00
parent 2e38798e33
commit d53e3919ad

View file

@ -19,7 +19,7 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
do_configure() {
if [ "$CROSS_BUILD" ]; then
ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc}
ln -s ${XBPS_WRAPPERDIR}/python-config ${wrksrc}
fi
env PYTHON=python ./configure ${configure_args}
}
@ -29,8 +29,7 @@ post_install() {
pygtk-devel_package() {
lib32disabled=yes
depends="python-devel gtk+-devel python-gobject2-devel python-cairo-devel
libglade-devel ${sourcepkg}>=${version}_${revision}"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pycompile_module="demos"
pkg_install() {