wok-current rev 3366

Add OpenERP client (GTK gui)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 11 23:26:24 2009 +0200 (2009-06-11)
parents 33393d6644ce
children 937b735ce8b6
files openerp-client/receipt openerp-client/stuff/openerp-client.desktop openerp-client/stuff/openerp-client.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openerp-client/receipt	Thu Jun 11 23:26:24 2009 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openerp-client"
     1.7 +VERSION="5.0.1-0"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Open source ERP client files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://openerp.com/"
    1.13 +WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
    1.14 +DEPENDS="postgresql-client python pygtk pygobject pycairo pyxml egenix-mx-base"
    1.15 +BUILD_DEPENDS="python python-dev pygtk"
    1.16 +SUGGESTED="epdfview"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed 's/^#.*//' < setup.py > setup2.py
    1.23 +	python setup2.py build
    1.24 +	python setup2.py install --root=$PWD/_pkg
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share/applications
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.34 +	cp -a $_pkg/usr/share/openerp-client $fs/usr/share
    1.35 +	cp -a $_pkg/usr/share/locale $fs/usr/share
    1.36 +	cp stuff/openerp-client.desktop $fs/usr/share/applications
    1.37 +	sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-client
    1.38 +	mkdir -p $fs/usr/share/openerp-client/pixmaps/
    1.39 +	ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \
    1.40 +		$fs/usr/share/openerp-client/pixmaps
    1.41 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/openerp-client/stuff/openerp-client.desktop	Thu Jun 11 23:26:24 2009 +0200
     2.3 @@ -0,0 +1,7 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=OpenERP GUI Client
     2.7 +Icon=openerp-client
     2.8 +Exec=openerp-client
     2.9 +Type=Application
    2.10 +Categories=Office;
     3.1 Binary file openerp-client/stuff/openerp-client.png has changed