wok annotate openerp-client/receipt @ rev 15855
New kernel config and huge receipt clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 29 09:56:07 2014 +0100 (2014-01-29) |
parents | 3fc135d04ae4 |
children | 16df76e1fc6a |
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" |
pascal@15590 | 8 LICENSE="GPL3" |
pankso@3366 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3366 | 10 WEB_SITE="http://openerp.com/" |
pankso@3366 | 11 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" |
pascal@15590 | 12 SUGGESTED="epdfview" |
pascal@15590 | 13 |
claudinei@3414 | 14 DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml egenix-mx-base" |
pascal@10580 | 15 BUILD_DEPENDS="python python-dev pygtk egenix-mx-base" |
pankso@3366 | 16 |
pankso@3366 | 17 # Rules to configure and make the package. |
pankso@3366 | 18 compile_rules() |
pankso@3366 | 19 { |
pankso@3366 | 20 cd $src |
pankso@3366 | 21 sed 's/^#.*//' < setup.py > setup2.py |
pankso@3366 | 22 python setup2.py build |
pascal@15590 | 23 python setup2.py install --root=$DESTDIR |
pankso@3366 | 24 } |
pankso@3366 | 25 |
pankso@3366 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3366 | 27 genpkg_rules() |
pankso@3366 | 28 { |
pankso@3366 | 29 mkdir -p $fs/usr/share/applications |
pascal@15590 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 31 cp -a $install/usr/lib $fs/usr |
pascal@15590 | 32 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15590 | 33 cp -a $install/usr/share/openerp-client $fs/usr/share |
pascal@15590 | 34 cp -a $install/usr/share/locale $fs/usr/share |
pankso@3366 | 35 cp stuff/openerp-client.desktop $fs/usr/share/applications |
pascal@15590 | 36 sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-client |
pankso@3366 | 37 mkdir -p $fs/usr/share/openerp-client/pixmaps/ |
pankso@3366 | 38 ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \ |
pankso@3366 | 39 $fs/usr/share/openerp-client/pixmaps |
pankso@3366 | 40 } |