wok-next view grisbi/receipt @ rev 1833

php-*: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 10 17:20:52 2008 +0000 (2008-12-10)
parents f08ead2d5191
children 8b79c3ee7ac2
line source
1 # SliTaz package receipt.
3 PACKAGE="grisbi"
4 VERSION="0.5.9"
5 CATEGORY="office"
6 SHORT_DESC="Personnal bank manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="pkg-config glib gtk+ libxml2 gtk+-dev glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.grisbi.org/index.fr.html"
12 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/grisbi/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share \
27 $fs/usr/share/locale \
28 $fs/usr/applicatrions \
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 cp -a $_pkg/usr/share/mime-info $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $fs/usr/share/pixmaps/grisbi/grisbi.png $fs/usr/share/pixmaps
36 cp -a stuff/grisbi.desktop $fs/usr/applications
38 strip -s $fs/usr/bin/*
39 }