wok annotate pygtk/receipt @ rev 23809

linld: add isoboot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:43:25 2020 +0000 (2020-05-24)
parents 76b72f1ad63c
children 6831608a1b2a
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 {
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@14996 34 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
erjo@1175 35 }