wok-current annotate homebank/receipt @ rev 17108

qps: s/-O2/-Os/g
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Sep 01 17:36:26 2014 +0200 (2014-09-01)
parents a3a1e544875b
children 533c0cab6960
rev   line source
pankso@1049 1 # SliTaz package receipt
pankso@1049 2
pankso@1049 3 PACKAGE="homebank"
slaxemulator@9561 4 VERSION="4.4"
pankso@1049 5 CATEGORY="office"
pankso@1049 6 SHORT_DESC="Personal accounts manager."
pankso@1049 7 MAINTAINER="pankso@slitaz.org"
pascal@15076 8 LICENSE="GPL2"
pankso@1049 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1049 10 WEB_SITE="http://homebank.free.fr/"
pankso@1049 11 WGET_URL="http://homebank.free.fr/public/$TARBALL"
jozee@4937 12 TAGS="office finance"
pankso@1049 13
pascal@15076 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@15076 15 BUILD_DEPENDS="intltool gtk+-dev"
pascal@15076 16
pankso@1049 17 # Rules to configure and make the package.
pankso@1049 18 compile_rules()
pankso@1049 19 {
pankso@1049 20 cd $src
pankso@1049 21 # GTK+ dont support svg
pankso@1049 22 sed -i s/svg/png/ src/*.c
slaxemulator@6418 23 chmod +x install-sh
pankso@1049 24 ./configure \
slaxemulator@9561 25 --without-ofx &&
pascal@2529 26 make &&
slaxemulator@9561 27 make install
pankso@1049 28 }
pankso@1049 29
pankso@1049 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1049 31 genpkg_rules()
pankso@1049 32 {
erjo@1070 33 mkdir -p $fs/usr/share/homebank $fs/usr/share/pixmaps
erjo@1070 34
pascal@15076 35 cp -a $install/usr/bin $fs/usr
pascal@15076 36 cp -a $install/usr/share/mime $fs/usr/share
pascal@15076 37 cp -a $install/usr/share/homebank/images $fs/usr/share/homebank
erjo@1070 38 #copying homebank icon.
pascal@15076 39 cp -a "$install/usr/share/icons/hicolor/48x48/apps/homebank.png" $fs/usr/share/pixmaps
slaxemulator@6418 40
pankso@1049 41 }