wok diff pygtk/receipt @ rev 9157

hplip: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 16:31:35 2011 +0100 (2011-03-07)
parents d0fa681cee8d
children 8dd4d8f85434
line diff
     1.1 --- a/pygtk/receipt	Sat Oct 09 17:19:46 2010 +0200
     1.2 +++ b/pygtk/receipt	Mon Mar 07 16:31:35 2011 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pygtk"
     1.7 -VERSION="2.16.0"
     1.8 +VERSION="2.22.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="GTK+ for Python"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -9,7 +9,8 @@
    1.13  xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
    1.14  xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    1.15  xorg-libXdamage libffi "
    1.16 -BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev"
    1.17 +BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev \
    1.18 +xorg-dev-proto"
    1.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20  WEB_SITE="http://www.pygtk.org/"
    1.21  WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/${VERSION%.*}/$TARBALL"
    1.22 @@ -19,11 +20,13 @@
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26 +	#https://bugzilla.gnome.org/show_bug.cgi?id=623965
    1.27 +	patch -Np1 -i ../stuff/python27.patch
    1.28  	./configure --prefix=/usr \
    1.29  	 --infodir=/usr/share/info \
    1.30  	 --disable-docs \
    1.31  	 --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.32 -	make &&
    1.33 +	make -j 4 &&
    1.34  	make DESTDIR=$PWD/_pkg install
    1.35  }
    1.36