wok-6.x diff openerp-client/receipt @ rev 17285

Add libnetfilter_cttimeout
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 27 12:18:59 2014 +0100 (2014-10-27)
parents 3fc135d04ae4
children 16df76e1fc6a
line diff
     1.1 --- a/openerp-client/receipt	Thu May 26 09:04:02 2011 +0200
     1.2 +++ b/openerp-client/receipt	Mon Oct 27 12:18:59 2014 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="Open source ERP client files."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://openerp.com/"
    1.10  WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
    1.11 +SUGGESTED="epdfview"
    1.12 +
    1.13  DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml egenix-mx-base"
    1.14  BUILD_DEPENDS="python python-dev pygtk egenix-mx-base"
    1.15 -SUGGESTED="epdfview"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -18,20 +20,20 @@
    1.20  	cd $src
    1.21  	sed 's/^#.*//' < setup.py > setup2.py
    1.22  	python setup2.py build
    1.23 -	python setup2.py install --root=$PWD/_pkg
    1.24 +	python setup2.py install --root=$DESTDIR
    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 -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/lib $fs/usr
    1.38 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.39 +	cp -a $install/usr/share/openerp-client $fs/usr/share
    1.40 +	cp -a $install/usr/share/locale $fs/usr/share
    1.41  	cp stuff/openerp-client.desktop $fs/usr/share/applications
    1.42 -	sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-client
    1.43 +	sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-client
    1.44  	mkdir -p $fs/usr/share/openerp-client/pixmaps/
    1.45  	ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \
    1.46  		$fs/usr/share/openerp-client/pixmaps