wok-6.x annotate grisbi/receipt @ rev 1245
perdition: describe known bugs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 07:24:16 2008 +0000 (2008-08-12) |
parents | |
children | 74c908326808 |
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" |
erjo@1070 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@1070 | 8 DEPENDS="" |
erjo@1070 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1070 | 10 WEB_SITE="http://www.grisbi.org/index.fr.html" |
erjo@1070 | 11 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/grisbi/$TARBALL" |
erjo@1070 | 12 |
erjo@1070 | 13 # Rules to configure and make the package. |
erjo@1070 | 14 compile_rules() |
erjo@1070 | 15 { |
erjo@1070 | 16 cd $src |
erjo@1070 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS |
erjo@1070 | 18 make |
erjo@1070 | 19 make DESTDIR=$PWD/_pkg install |
erjo@1070 | 20 } |
erjo@1070 | 21 |
erjo@1070 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1070 | 23 genpkg_rules() |
erjo@1070 | 24 { |
erjo@1070 | 25 mkdir -p $fs/usr/share \ |
erjo@1070 | 26 $fs/usr/share/locale \ |
erjo@1070 | 27 $fs/usr/applicatrions \ |
erjo@1070 | 28 |
erjo@1070 | 29 |
erjo@1070 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@1070 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1070 | 32 cp -a $_pkg/usr/share/mime-info $fs/usr/share |
erjo@1070 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1070 | 34 cp -a $fs/usr/share/pixmaps/grisbi/grisbi.png $fs/usr/share/pixmaps |
erjo@1070 | 35 cp -a stuff/grisbi.desktop $fs/usr/applications |
erjo@1070 | 36 |
erjo@1070 | 37 strip -s $fs/usr/bin/* |
erjo@1070 | 38 } |
erjo@1070 | 39 |