wok-next annotate Zim/receipt @ rev 3315

transmission: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 08 00:03:03 2009 +0200 (2009-06-08)
parents 229efd009cf7
children
rev   line source
paul@3235 1 # SliTaz package receipt.
paul@3235 2
paul@3235 3 PACKAGE="Zim"
paul@3235 4 VERSION="0.28"
paul@3235 5 CATEGORY="utilities"
paul@3235 6 SHORT_DESC="A desktop wiki."
paul@3235 7 MAINTAINER="paul@slitaz.org"
paul@3235 8 DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
paul@3235 9 perl-file-mimeinfo desktop-file-utils xdg-utils"
paul@3235 10 BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
paul@3235 11 perl-file-mimeinfo desktop-file-utils xdg-utils"
paul@3235 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3235 13 WEB_SITE="http://zim-wiki.org/"
paul@3235 14 WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
paul@3235 15
paul@3235 16 # Rules to configure and make the package.
paul@3235 17 compile_rules()
paul@3235 18 {
paul@3235 19 cd $src
paul@3235 20 ./configure
paul@3235 21 make && make DESTDIR=$PWD/_pkg install
paul@3235 22 }
paul@3235 23
paul@3235 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3235 25 genpkg_rules()
paul@3235 26 {
paul@3235 27 mkdir -p $fs/usr
paul@3235 28 cp -a $_pkg/usr/* $fs/usr
paul@3235 29 }
paul@3235 30
paul@3243 31 post_install()
paul@3243 32 {
paul@3243 33 echo -n "Processing post-install commands..."
paul@3243 34
paul@3243 35 # Create mimeinfo.cache in /usr/share/applications
paul@3243 36 update-desktop-database
paul@3243 37 status
paul@3243 38 }
paul@3243 39