wok-4.x rev 12249

vte: save space on core and split python bindings in python-vte
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 09 19:03:43 2012 +0200 (2012-04-09)
parents e73f179b6cd0
children 4a88534591b7
files python-vte/receipt vte/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-vte/receipt	Mon Apr 09 19:03:43 2012 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-vte"
     1.7 +VERSION="0.28.2"
     1.8 +CATEGORY="Python module for vte"
     1.9 +SHORT_DESC="Terminal capabilities for GTK+ widgets devel files."
    1.10 +DEPENDS="vte"
    1.11 +WANTED="vte"
    1.12 +MAINTAINER="pankso@slitaz.org"
    1.13 +WEB_SITE="http://www.gnome.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.19 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.20 +	cp -a $install/usr/share/pygtk $fs/usr/share
    1.21 +}
     2.1 --- a/vte/receipt	Mon Apr 09 18:39:47 2012 +0200
     2.2 +++ b/vte/receipt	Mon Apr 09 19:03:43 2012 +0200
     2.3 @@ -11,7 +11,8 @@
     2.4  LOCALE=""
     2.5  
     2.6  DEPENDS="gtk+ ncurses xorg-libXdamage"
     2.7 -BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser intltool ncurses-dev gobject-introspection-dev"
     2.8 +BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \
     2.9 +intltool ncurses-dev gobject-introspection-dev"
    2.10  
    2.11  # Rules to configure and make the package.
    2.12  compile_rules()
    2.13 @@ -32,10 +33,15 @@
    2.14  {
    2.15  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    2.16  	mkdir -p $fs/usr/lib $fs/usr/share
    2.17 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.18 -	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    2.19 -	cp -a $_pkg/usr/lib/vte $fs/usr/lib
    2.20 -	cp -a $_pkg/usr/share/vte $fs/usr/share
    2.21 -	cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
    2.22 -	cp -a $_pkg/usr/share/pygtk $fs/usr/share
    2.23 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.24 +	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    2.25 +	cp -a $install/usr/lib/vte $fs/usr/lib
    2.26 +	cp -a $install/usr/share/vte $fs/usr/share
    2.27 +	
    2.28 +	# --> python-vte
    2.29 +	rm -rf $fs/usr/lib/python*
    2.30 +	rm -rf $fs/usr/share/pygtk
    2.31 +	
    2.32 +	cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
    2.33 +	cp -a $install/usr/share/pygtk $fs/usr/share
    2.34  }