wok view homebank/receipt @ rev 7786

Fixed librsvg post_install and post_remove.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 23 21:47:47 2010 +0000 (2010-12-23)
parents c6ccd6bc43b1
children a3a1e544875b
line source
1 # SliTaz package receipt
3 PACKAGE="homebank"
4 VERSION="4.3"
5 CATEGORY="office"
6 SHORT_DESC="Personal accounts manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev intltool"
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 chmod +x install-sh
22 ./configure \
23 --prefix=/usr \
24 --without-ofx \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/homebank $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/mime $fs/usr/share
37 cp -a $_pkg/usr/share/homebank/images $fs/usr/share/homebank
38 #copying homebank icon.
39 cp -a "$_pkg/usr/share/icons/hicolor/48x48/apps/homebank.png" $fs/usr/share/pixmaps
41 }