wok-stable annotate homebank/receipt @ rev 7153

Made compcache to use linux-modules-headers. This way linux in wok doesn't need to be compiled.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 19:22:12 2010 +0000 (2010-11-06)
parents c6ccd6bc43b1
children a3a1e544875b
rev   line source
pankso@1049 1 # SliTaz package receipt
pankso@1049 2
pankso@1049 3 PACKAGE="homebank"
slaxemulator@6418 4 VERSION="4.3"
pankso@1049 5 CATEGORY="office"
pankso@1049 6 SHORT_DESC="Personal accounts manager."
pankso@1049 7 MAINTAINER="pankso@slitaz.org"
pascal@2517 8 DEPENDS="gtk+ xorg-libXdamage"
slaxemulator@6418 9 BUILD_DEPENDS="gtk+-dev intltool"
pankso@1049 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1049 11 WEB_SITE="http://homebank.free.fr/"
pankso@1049 12 WGET_URL="http://homebank.free.fr/public/$TARBALL"
jozee@4937 13 TAGS="office finance"
pankso@1049 14
pankso@1049 15 # Rules to configure and make the package.
pankso@1049 16 compile_rules()
pankso@1049 17 {
pankso@1049 18 cd $src
pankso@1049 19 # GTK+ dont support svg
pankso@1049 20 sed -i s/svg/png/ src/*.c
slaxemulator@6418 21 chmod +x install-sh
pankso@1049 22 ./configure \
pankso@1049 23 --prefix=/usr \
slaxemulator@6418 24 --without-ofx \
pascal@2529 25 $CONFIGURE_ARGS &&
pascal@2529 26 make &&
pankso@1049 27 make DESTDIR=$PWD/_pkg 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
pankso@1049 35 cp -a $_pkg/usr/bin $fs/usr
pankso@1049 36 cp -a $_pkg/usr/share/mime $fs/usr/share
pankso@1049 37 cp -a $_pkg/usr/share/homebank/images $fs/usr/share/homebank
erjo@1070 38 #copying homebank icon.
erjo@1070 39 cp -a "$_pkg/usr/share/icons/hicolor/48x48/apps/homebank.png" $fs/usr/share/pixmaps
slaxemulator@6418 40
pankso@1049 41 }