wok-6.x view Zim/receipt @ rev 3243
Zim: Create mimeinfo.cache
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat May 30 12:44:33 2009 +0000 (2009-05-30) |
parents | 229efd009cf7 |
children |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://zim-wiki.org/"
14 WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/* $fs/usr
29 }
31 post_install()
32 {
33 echo -n "Processing post-install commands..."
35 # Create mimeinfo.cache in /usr/share/applications
36 update-desktop-database
37 status
38 }