wok-current annotate pygtk/receipt @ rev 25288
libQt5Plugins: removed dependency libQt3Support
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 07:28:24 2022 +0100 (2022-07-19) |
parents | 16df76e1fc6a |
children | 3ad63c8fc2f9 |
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 |
pascal@24111 | 20 current_version() |
pascal@24111 | 21 { |
pascal@24111 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 24 } |
pascal@24111 | 25 |
erjo@1175 | 26 # Rules to configure and make the package. |
erjo@1175 | 27 compile_rules() |
erjo@1175 | 28 { |
slaxemulator@6786 | 29 #https://bugzilla.gnome.org/show_bug.cgi?id=623965 |
slaxemulator@9491 | 30 patch -Np1 -i $stuff/python27.patch |
slaxemulator@10335 | 31 ./configure --disable-docs $CONFIGURE_ARGS && |
gokhlayeh@11574 | 32 make $MAKEFLAGS && make install |
erjo@1175 | 33 } |
erjo@1175 | 34 |
erjo@1175 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 36 genpkg_rules() |
erjo@1175 | 37 { |
pascal@6594 | 38 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@3432 | 39 mkdir -p $fs/usr/lib |
pascal@14996 | 40 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 41 } |