wok-next diff pygtk/receipt @ rev 19765
Up icu, libboost...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 12 11:39:09 2017 +0300 (2017-06-12) |
parents | 16df76e1fc6a |
children | 0e7893ac206d |
line diff
1.1 --- a/pygtk/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/pygtk/receipt Mon Jun 12 11:39:09 2017 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pygtk" 1.8 VERSION="2.24.0" 1.9 @@ -6,22 +6,18 @@ 1.10 SHORT_DESC="GTK+ for Python" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 +WEB_SITE="http://www.pygtk.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://www.pygtk.org/" 1.17 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.18 1.19 -DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ 1.20 -xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ 1.21 -xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ 1.22 -xorg-libXdamage libffi python-numpy" 1.23 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \ 1.24 libglade-dev libxml2-dev libffi-dev python-numpy" 1.25 +SPLIT="pygtk-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - #https://bugzilla.gnome.org/show_bug.cgi?id=623965 1.31 - patch -Np1 -i $stuff/python27.patch 1.32 ./configure --disable-docs $CONFIGURE_ARGS && 1.33 make $MAKEFLAGS && make install 1.34 } 1.35 @@ -29,7 +25,17 @@ 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib 1.42 + case $PACKAGE in 1.43 + pygtk) 1.44 + copy @std 1.45 + DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 \ 1.46 + xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \ 1.47 + xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ 1.48 + xorg-libXrandr xorg-libXrender xorg-libXdamage libffi python-numpy" 1.49 + ;; 1.50 + *-dev) 1.51 + copy @dev 1.52 + DEPENDS="pygtk gtk+-dev pygobject-dev pycairo-dev" 1.53 + ;; 1.54 + esac 1.55 }