wok annotate pygtk/receipt @ rev 9743

Fix: pam BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 02:34:00 2011 +0200 (2011-05-10)
parents 66d952425df7
children d7f32ea18552
rev   line source
erjo@1175 1 # SliTaz package receipt.
erjo@1175 2
erjo@1175 3 PACKAGE="pygtk"
slaxemulator@9491 4 VERSION="2.24.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 \
slaxemulator@9491 11 xorg-libXdamage libffi"
erjo@1175 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1175 13 WEB_SITE="http://www.pygtk.org/"
slaxemulator@9491 14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@1175 15
erjo@1175 16 # Rules to configure and make the package.
erjo@1175 17 compile_rules()
erjo@1175 18 {
erjo@1175 19 cd $src
slaxemulator@6786 20 #https://bugzilla.gnome.org/show_bug.cgi?id=623965
slaxemulator@9491 21 patch -Np1 -i $stuff/python27.patch
slaxemulator@9491 22 ./configure \
slaxemulator@9491 23 --disable-docs &&
slaxemulator@6786 24 make -j 4 &&
slaxemulator@9491 25 make install
erjo@1175 26 }
erjo@1175 27
erjo@1175 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 29 genpkg_rules()
erjo@1175 30 {
pascal@6594 31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@3432 32 mkdir -p $fs/usr/lib
pascal@6592 33 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
erjo@1175 34 }