wok-next annotate pygtk/receipt @ rev 15614
cairo-compmgr-core, jfsutils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 08:06:26 2013 +0000 (2013-12-08) |
parents | fee73974ec3c |
children | 16df76e1fc6a |
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@14996 | 8 LICENSE="LGPL2.1" |
pankso@9809 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9809 | 10 WEB_SITE="http://www.pygtk.org/" |
pankso@9809 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@9809 | 12 |
pascal@2455 | 13 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ |
pascal@2455 | 14 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
paul@4470 | 15 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
pascal@13935 | 16 xorg-libXdamage libffi python-numpy" |
pankso@9809 | 17 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \ |
pascal@13935 | 18 libglade-dev libxml2-dev libffi-dev python-numpy" |
erjo@1175 | 19 |
erjo@1175 | 20 # Rules to configure and make the package. |
erjo@1175 | 21 compile_rules() |
erjo@1175 | 22 { |
erjo@1175 | 23 cd $src |
slaxemulator@6786 | 24 #https://bugzilla.gnome.org/show_bug.cgi?id=623965 |
slaxemulator@9491 | 25 patch -Np1 -i $stuff/python27.patch |
slaxemulator@10335 | 26 ./configure --disable-docs $CONFIGURE_ARGS && |
gokhlayeh@11574 | 27 make $MAKEFLAGS && make install |
erjo@1175 | 28 } |
erjo@1175 | 29 |
erjo@1175 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 31 genpkg_rules() |
erjo@1175 | 32 { |
pascal@6594 | 33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@3432 | 34 mkdir -p $fs/usr/lib |
pascal@14996 | 35 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 36 } |