wok-stable view zim/receipt @ rev 5003

l*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:17:14 2010 +0100 (2010-02-28)
parents 50a4a6515dd0
children aafdac59e123
line source
1 # SliTaz package receipt.
3 PACKAGE="zim"
4 VERSION="0.29"
5 CATEGORY="utilities"
6 SHORT_DESC="A desktop wiki."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
9 perl-file-mimeinfo desktop-file-utils xdg-utils"
10 BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
11 perl-file-mimeinfo desktop-file-utils xdg-utils"
12 SOURCE="Zim"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://zim-wiki.org/"
15 WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
16 TAGS="wiki"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr $fs
31 }
33 post_install()
34 {
35 echo -n "Processing post-install commands..."
36 # Create mimeinfo.cache in /usr/share/applications
37 update-desktop-database
38 status
39 }