wok annotate openerp-client/receipt @ rev 4329
Add: extrema (analysis tool)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 30 01:00:47 2009 +0200 (2009-09-30) |
parents | e07655bdf85b |
children | 3fc135d04ae4 |
rev | line source |
---|---|
pankso@3366 | 1 # SliTaz package receipt. |
pankso@3366 | 2 |
pankso@3366 | 3 PACKAGE="openerp-client" |
pankso@3366 | 4 VERSION="5.0.1-0" |
pankso@3366 | 5 CATEGORY="office" |
pankso@3366 | 6 SHORT_DESC="Open source ERP client files." |
pankso@3366 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3366 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3366 | 9 WEB_SITE="http://openerp.com/" |
pankso@3366 | 10 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" |
claudinei@3414 | 11 DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml egenix-mx-base" |
pankso@3366 | 12 BUILD_DEPENDS="python python-dev pygtk" |
pankso@3366 | 13 SUGGESTED="epdfview" |
pankso@3366 | 14 |
pankso@3366 | 15 # Rules to configure and make the package. |
pankso@3366 | 16 compile_rules() |
pankso@3366 | 17 { |
pankso@3366 | 18 cd $src |
pankso@3366 | 19 sed 's/^#.*//' < setup.py > setup2.py |
pankso@3366 | 20 python setup2.py build |
pankso@3366 | 21 python setup2.py install --root=$PWD/_pkg |
pankso@3366 | 22 } |
pankso@3366 | 23 |
pankso@3366 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3366 | 25 genpkg_rules() |
pankso@3366 | 26 { |
pankso@3366 | 27 mkdir -p $fs/usr/share/applications |
pankso@3366 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@3366 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@3366 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@3366 | 31 cp -a $_pkg/usr/share/openerp-client $fs/usr/share |
pankso@3366 | 32 cp -a $_pkg/usr/share/locale $fs/usr/share |
pankso@3366 | 33 cp stuff/openerp-client.desktop $fs/usr/share/applications |
pankso@3366 | 34 sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-client |
pankso@3366 | 35 mkdir -p $fs/usr/share/openerp-client/pixmaps/ |
pankso@3366 | 36 ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \ |
pankso@3366 | 37 $fs/usr/share/openerp-client/pixmaps |
pankso@3366 | 38 } |