wok-next diff gnome-python/receipt @ rev 20295
Attempt to fix warzone2100; add feathernotes, featherpad, kvantum, libqscintilla-qt5, plataro
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 08 21:51:43 2017 +0200 (2017-11-08) |
parents | 16df76e1fc6a |
children | d43bf7aae921 |
line diff
1.1 --- a/gnome-python/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/gnome-python/receipt Wed Nov 08 21:51:43 2017 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gnome-python" 1.8 VERSION="2.28.1" 1.9 @@ -10,9 +10,9 @@ 1.10 WEB_SITE="http://www.gnome.org/" 1.11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.12 1.13 -DEPENDS="python pygobject pygtk libgnome" 1.14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \ 1.15 esound libxml2-dev" 1.16 +SPLIT="gnome-python gnome-python-dev python-gconf" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -27,9 +27,29 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/usr/share 1.25 - cp -a $install/usr/share/pygtk $fs/usr/share 1.26 - cp -a $install/usr/lib $fs/usr 1.27 - rm -rf $fs/usr/lib/pkgconfig 1.28 - rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a 1.29 + case $PACKAGE in 1.30 + gnome-python) 1.31 + DEPENDS="python pygobject pygtk libgnome" 1.32 + mkdir -p $fs/usr/share 1.33 + cp -a $install/usr/share/pygtk $fs/usr/share 1.34 + cp -a $install/usr/lib $fs/usr 1.35 + rm -rf $fs/usr/lib/pkgconfig 1.36 + rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a 1.37 + ;; 1.38 + gnome-python-dev) 1.39 + CAT="development|Python bindings for GNOME, development files." 1.40 + DEPENDS="gnome-python pkg-config" 1.41 + mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules 1.42 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.43 + cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules 1.44 + cp -a $install/usr/include $fs/usr 1.45 + ;; 1.46 + python-gconf) 1.47 + CAT="system-tools|Python bindings for gconf." 1.48 + _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g') 1.49 + mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 1.50 + cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \ 1.51 + $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 1.52 + ;; 1.53 + esac 1.54 }