# HG changeset patch # User Christophe Lincoln # Date 1333991023 -7200 # Node ID d2dd1c452fcefcd8604adf6469563d486bd7104f # Parent e73f179b6cd0294849889db406a41e3c6c695a33 vte: save space on core and split python bindings in python-vte diff -r e73f179b6cd0 -r d2dd1c452fce python-vte/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-vte/receipt Mon Apr 09 19:03:43 2012 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="python-vte" +VERSION="0.28.2" +CATEGORY="Python module for vte" +SHORT_DESC="Terminal capabilities for GTK+ widgets devel files." +DEPENDS="vte" +WANTED="vte" +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.gnome.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/lib/python* $fs/usr/lib + cp -a $install/usr/share/pygtk $fs/usr/share +} diff -r e73f179b6cd0 -r d2dd1c452fce vte/receipt --- a/vte/receipt Mon Apr 09 18:39:47 2012 +0200 +++ b/vte/receipt Mon Apr 09 19:03:43 2012 +0200 @@ -11,7 +11,8 @@ LOCALE="" DEPENDS="gtk+ ncurses xorg-libXdamage" -BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser intltool ncurses-dev gobject-introspection-dev" +BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \ +intltool ncurses-dev gobject-introspection-dev" # Rules to configure and make the package. compile_rules() @@ -32,10 +33,15 @@ { PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') mkdir -p $fs/usr/lib $fs/usr/share - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib - cp -a $_pkg/usr/lib/vte $fs/usr/lib - cp -a $_pkg/usr/share/vte $fs/usr/share - cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib - cp -a $_pkg/usr/share/pygtk $fs/usr/share + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + cp -a $install/usr/lib/vte $fs/usr/lib + cp -a $install/usr/share/vte $fs/usr/share + + # --> python-vte + rm -rf $fs/usr/lib/python* + rm -rf $fs/usr/share/pygtk + + cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib + cp -a $install/usr/share/pygtk $fs/usr/share }