wok view homebank/receipt @ rev 5178

blues: typo
author Rohit Joshi <jozee@slitaz.org>
date Sat Mar 27 11:59:29 2010 +0000 (2010-03-27)
parents 6c5e8bed10af
children 455678ba3cb6
line source
1 # SliTaz package receipt
3 PACKAGE="homebank"
4 VERSION="4.0.2"
5 CATEGORY="office"
6 SHORT_DESC="Personal accounts manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev inkscape"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://homebank.free.fr/"
12 WGET_URL="http://homebank.free.fr/public/$TARBALL"
13 TAGS="office finance"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # GTK+ dont support svg
20 sed -i s/svg/png/ src/*.c
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/homebank $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/mime $fs/usr/share
35 cp -a $_pkg/usr/share/homebank/images $fs/usr/share/homebank
36 #copying homebank icon.
37 cp -a "$_pkg/usr/share/icons/hicolor/48x48/apps/homebank.png" $fs/usr/share/pixmaps
38 # Resize and export all SVG images to PNG.
39 cd $fs/usr/share/homebank/images
40 for img in *.svg
41 do
42 inkscape --export-width=32 --export-height=32 \
43 --export-png=${img%.svg}.png $img
44 done
45 rm *.svg
46 }