wok-4.x view zim/receipt @ rev 5782
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 11:19:46 2010 +0200 (2010-07-10) |
parents | 50a4a6515dd0 |
children | aafdac59e123 |
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"
16 TAGS="wiki"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr $fs
31 }
33 post_install()
34 {
35 echo -n "Processing post-install commands..."
36 # Create mimeinfo.cache in /usr/share/applications
37 update-desktop-database
38 status
39 }