wok-6.x view openerp-client/receipt @ rev 4248
Up: inkscape (0.47pre2) + fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 25 01:14:41 2009 +0200 (2009-09-25) |
parents | e07655bdf85b |
children | 3fc135d04ae4 |
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"
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 }