wok-current annotate pygtk/receipt @ rev 14263
syslinux/iso2exe: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 31 22:55:34 2013 +0100 (2013-03-31) |
parents | 8e4c74abdf74 |
children | 76b72f1ad63c |
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" |
pankso@9809 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9809 | 9 WEB_SITE="http://www.pygtk.org/" |
pankso@9809 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@9809 | 11 |
pascal@2455 | 12 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ |
pascal@2455 | 13 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
paul@4470 | 14 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
pascal@13935 | 15 xorg-libXdamage libffi python-numpy" |
pankso@9809 | 16 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \ |
pascal@13935 | 17 libglade-dev libxml2-dev libffi-dev python-numpy" |
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@9491 | 24 patch -Np1 -i $stuff/python27.patch |
slaxemulator@10335 | 25 ./configure --disable-docs $CONFIGURE_ARGS && |
gokhlayeh@11574 | 26 make $MAKEFLAGS && make install |
erjo@1175 | 27 } |
erjo@1175 | 28 |
erjo@1175 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 30 genpkg_rules() |
erjo@1175 | 31 { |
pascal@6594 | 32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@3432 | 33 mkdir -p $fs/usr/lib |
pascal@6592 | 34 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 35 } |