wok-6.x annotate grisbi/receipt @ rev 13695

separate .conf file
author xfred222
date Thu Dec 13 20:04:39 2012 -0500 (2012-12-13)
parents 8da399980a44
children 0ed6796bbbe1
rev   line source
erjo@1070 1 # SliTaz package receipt.
erjo@1070 2
erjo@1070 3 PACKAGE="grisbi"
erjo@8465 4 VERSION="0.6.0"
erjo@1070 5 CATEGORY="office"
erjo@1070 6 SHORT_DESC="Personnal bank manager"
pascal@1412 7 MAINTAINER="erjo@slitaz.org"
erjo@8465 8 DEPENDS="gtk+ xorg-libXdamage libofx libofx"
pascal@10506 9 BUILD_DEPENDS="pkg-config glib gtk+ libxml2 gtk+-dev glib-dev libofx-dev opensp-dev"
erjo@1070 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1070 11 WEB_SITE="http://www.grisbi.org/index.fr.html"
erjo@1070 12 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/grisbi/$TARBALL"
erjo@8465 13 SUGGESTED="grisbi-plugins"
erjo@1070 14
erjo@1070 15 # Rules to configure and make the package.
erjo@1070 16 compile_rules()
erjo@1070 17 {
erjo@1070 18 cd $src
erjo@8465 19 ./configure --prefix=/usr \
erjo@8465 20 --with-plugins \
erjo@8465 21 $CONFIGURE_ARGS &&
pascal@1460 22 make &&
erjo@1070 23 make DESTDIR=$PWD/_pkg install
erjo@1070 24 }
erjo@1070 25
erjo@1070 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1070 27 genpkg_rules()
erjo@1070 28 {
pascal@11623 29 mkdir -p $fs/usr/share/grisbi/categories $fs/usr/share/applications
erjo@8465 30
pascal@11623 31 cp -a $stuff/grisbi.desktop $fs/usr/share/applications
erjo@1070 32 cp -a $_pkg/usr/bin $fs/usr
erjo@1070 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@1070 34 cp -a $_pkg/usr/share/mime-info $fs/usr/share
erjo@1070 35 cp -a $fs/usr/share/pixmaps/grisbi/grisbi.png $fs/usr/share/pixmaps
erjo@8465 36 cp -a $_pkg/usr/share/grisbi/categories/fr* $fs/usr/share/grisbi/categories/
erjo@1070 37 }