wok view zim/receipt @ rev 3534

merge 3532:012d72b2b629 , 3530:0109c31e8835
author Liu Peng <rocky@slitaz.org>
date Mon Jun 22 17:35:58 2009 +0800 (2009-06-22)
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 }