wok-6.x view zim/receipt @ rev 3369

zim: Renamed package Zim --> zim
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 11 23:58:16 2009 +0200 (2009-06-11)
parents
children 50a4a6515dd0
line source
1 # SliTaz package receipt.
3 PACKAGE="zim"
4 VERSION="0.28"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/* $fs/usr
30 }
32 post_install()
33 {
34 echo -n "Processing post-install commands..."
36 # Create mimeinfo.cache in /usr/share/applications
37 update-desktop-database
38 status
39 }