wok-current view openerp-client/receipt @ rev 11670

Up: youtube-dl to 2012.01.08b.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 17 14:36:38 2012 -0500 (2012-02-17)
parents 28c34e01f8c6
children 600aaedb561d
line source
1 # SliTaz package receipt.
3 PACKAGE="openerp-client"
4 VERSION="5.0.1-0"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP client files."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://openerp.com/"
10 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
11 DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml egenix-mx-base"
12 BUILD_DEPENDS="python python-dev pygtk egenix-mx-base"
13 SUGGESTED="epdfview"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed 's/^#.*//' < setup.py > setup2.py
20 python setup2.py build
21 python setup2.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 cp -a $_pkg/usr/share/openerp-client $fs/usr/share
32 cp -a $_pkg/usr/share/locale $fs/usr/share
33 cp stuff/openerp-client.desktop $fs/usr/share/applications
34 sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-client
35 mkdir -p $fs/usr/share/openerp-client/pixmaps/
36 ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \
37 $fs/usr/share/openerp-client/pixmaps
38 }