wok-current annotate zim/receipt @ rev 5516

Up: aria2 (1.9.3)
author Alexander Medvedev <devl547@gmail.com>
date Mon May 10 20:26:20 2010 +0000 (2010-05-10)
parents 50a4a6515dd0
children aafdac59e123
rev   line source
pankso@3369 1 # SliTaz package receipt.
pankso@3369 2
pankso@3369 3 PACKAGE="zim"
paul@4845 4 VERSION="0.29"
pankso@3369 5 CATEGORY="utilities"
pankso@3369 6 SHORT_DESC="A desktop wiki."
pankso@3369 7 MAINTAINER="paul@slitaz.org"
pankso@3369 8 DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
pankso@3369 9 perl-file-mimeinfo desktop-file-utils xdg-utils"
pankso@3369 10 BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
pankso@3369 11 perl-file-mimeinfo desktop-file-utils xdg-utils"
pankso@3369 12 SOURCE="Zim"
pankso@3369 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@3369 14 WEB_SITE="http://zim-wiki.org/"
pankso@3369 15 WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
jozee@4978 16 TAGS="wiki"
pankso@3369 17
pankso@3369 18 # Rules to configure and make the package.
pankso@3369 19 compile_rules()
pankso@3369 20 {
pankso@3369 21 cd $src
pankso@3369 22 ./configure
pankso@3369 23 make && make DESTDIR=$PWD/_pkg install
pankso@3369 24 }
pankso@3369 25
pankso@3369 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3369 27 genpkg_rules()
pankso@3369 28 {
pankso@3369 29 mkdir -p $fs/usr
paul@4845 30 cp -a $_pkg/usr $fs
pankso@3369 31 }
pankso@3369 32
pankso@3369 33 post_install()
pankso@3369 34 {
pankso@3369 35 echo -n "Processing post-install commands..."
pankso@3369 36 # Create mimeinfo.cache in /usr/share/applications
pankso@3369 37 update-desktop-database
pankso@3369 38 status
pankso@3369 39 }
pankso@3369 40