wok-next annotate grisbi/receipt @ rev 9040
Up: tazwok 4.2.4
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 04 02:43:18 2011 +0100 (2011-03-04) |
parents | 4f0ee4a28c91 |
children | 8da399980a44 |
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" |
erjo@8465 | 9 BUILD_DEPENDS="pkg-config glib gtk+ libxml2 gtk+-dev glib-dev libofx-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 { |
erjo@8465 | 29 mkdir -p $fs/usr/share/grisbi/categories |
erjo@8465 | 30 |
erjo@1070 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@1070 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1070 | 33 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
erjo@1070 | 34 cp -a $fs/usr/share/pixmaps/grisbi/grisbi.png $fs/usr/share/pixmaps |
erjo@8465 | 35 cp -a $_pkg/usr/share/grisbi/categories/fr* $fs/usr/share/grisbi/categories/ |
erjo@1070 | 36 } |