wok annotate pygtk/receipt @ rev 10665
xbill: Fixed deps and bdeps. I think. It needs Xm/Xm.h file and lesstif-dev has it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 27 03:44:32 2011 +0000 (2011-05-27) |
parents | d7f32ea18552 |
children | 8e4c74abdf74 |
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 \ |
slaxemulator@9491 | 15 xorg-libXdamage libffi" |
pankso@9809 | 16 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \ |
pankso@9809 | 17 libglade-dev libxml2-dev libffi-dev" |
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 && |
pankso@9809 | 26 make -j 4 && 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 } |