wok-current annotate grisbi/receipt @ rev 2786
Up: slitaz-eeepc (1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:57:44 2009 +0200 (2009-04-27) |
parents | 3d99ecce2d4b |
children | 4f0ee4a28c91 |
rev | line source |
---|---|
erjo@1070 | 1 # SliTaz package receipt. |
erjo@1070 | 2 |
erjo@1070 | 3 PACKAGE="grisbi" |
erjo@1070 | 4 VERSION="0.5.9" |
erjo@1070 | 5 CATEGORY="office" |
erjo@1070 | 6 SHORT_DESC="Personnal bank manager" |
pascal@1412 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1511 | 9 BUILD_DEPENDS="pkg-config glib gtk+ libxml2 gtk+-dev glib-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@1070 | 13 |
erjo@1070 | 14 # Rules to configure and make the package. |
erjo@1070 | 15 compile_rules() |
erjo@1070 | 16 { |
erjo@1070 | 17 cd $src |
pascal@1460 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1460 | 19 make && |
erjo@1070 | 20 make DESTDIR=$PWD/_pkg install |
erjo@1070 | 21 } |
erjo@1070 | 22 |
erjo@1070 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1070 | 24 genpkg_rules() |
erjo@1070 | 25 { |
erjo@1070 | 26 mkdir -p $fs/usr/share \ |
erjo@1070 | 27 $fs/usr/share/locale \ |
erjo@1070 | 28 $fs/usr/applicatrions \ |
erjo@1070 | 29 |
erjo@1070 | 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 $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1070 | 35 cp -a $fs/usr/share/pixmaps/grisbi/grisbi.png $fs/usr/share/pixmaps |
erjo@1070 | 36 cp -a stuff/grisbi.desktop $fs/usr/applications |
erjo@1070 | 37 |
erjo@1070 | 38 strip -s $fs/usr/bin/* |
erjo@1070 | 39 } |
erjo@1070 | 40 |