wok annotate openerp-client/receipt @ rev 19201

Add gtkspell3
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 13:36:10 2016 +0300 (2016-06-09)
parents 600aaedb561d
children 8e17dd3d81ee
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
al@18077 14 DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml \
al@18077 15 egenix-mx-base"
pascal@10580 16 BUILD_DEPENDS="python python-dev pygtk egenix-mx-base"
pankso@3366 17
pankso@3366 18 # Rules to configure and make the package.
pankso@3366 19 compile_rules()
pankso@3366 20 {
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 }