wok view zim/receipt @ rev 4974

add/improve TAGS u* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 12:19:54 2010 +0000 (2010-02-24)
parents 56ae9173bddb
children b303dfac3b48
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"
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
30 }
32 post_install()
33 {
34 echo -n "Processing post-install commands..."
35 # Create mimeinfo.cache in /usr/share/applications
36 update-desktop-database
37 status
38 }