wok-stable view zim/receipt @ rev 4575
lighttpd: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 20:47:04 2009 +0100 (2009-12-09) |
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 }