wok-current annotate pygtk/receipt @ rev 9366

Up: cairo to 1.10.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 22 18:01:23 2011 +0000 (2011-03-22)
parents d0fa681cee8d
children 8dd4d8f85434
rev   line source
erjo@1175 1 # SliTaz package receipt.
erjo@1175 2
erjo@1175 3 PACKAGE="pygtk"
slaxemulator@6786 4 VERSION="2.22.0"
erjo@1175 5 CATEGORY="development"
erjo@1175 6 SHORT_DESC="GTK+ for Python"
erjo@1175 7 MAINTAINER="erjo@slitaz.org"
pascal@2455 8 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
pascal@2455 9 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
paul@4470 10 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
erjo@4784 11 xorg-libXdamage libffi "
slaxemulator@6786 12 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev \
slaxemulator@6786 13 xorg-dev-proto"
erjo@1175 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1175 15 WEB_SITE="http://www.pygtk.org/"
pascal@6594 16 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/${VERSION%.*}/$TARBALL"
erjo@4693 17
erjo@1175 18
erjo@1175 19 # Rules to configure and make the package.
erjo@1175 20 compile_rules()
erjo@1175 21 {
erjo@1175 22 cd $src
slaxemulator@6786 23 #https://bugzilla.gnome.org/show_bug.cgi?id=623965
slaxemulator@6786 24 patch -Np1 -i ../stuff/python27.patch
erjo@1175 25 ./configure --prefix=/usr \
erjo@1175 26 --infodir=/usr/share/info \
erjo@1175 27 --disable-docs \
pascal@1647 28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
slaxemulator@6786 29 make -j 4 &&
erjo@1175 30 make DESTDIR=$PWD/_pkg install
erjo@1175 31 }
erjo@1175 32
erjo@1175 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 34 genpkg_rules()
erjo@1175 35 {
pascal@6594 36 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@3432 37 mkdir -p $fs/usr/lib
pascal@6592 38 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
erjo@1175 39 }