wok annotate zim/receipt @ rev 4843

perl-dbd-mysql: update BUILD_DEPENDS.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 29 16:31:55 2010 +0100 (2010-01-29)
parents
children 50a4a6515dd0
rev   line source
pankso@3369 1 # SliTaz package receipt.
pankso@3369 2
pankso@3369 3 PACKAGE="zim"
pankso@3369 4 VERSION="0.28"
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"
pankso@3369 16
pankso@3369 17 # Rules to configure and make the package.
pankso@3369 18 compile_rules()
pankso@3369 19 {
pankso@3369 20 cd $src
pankso@3369 21 ./configure
pankso@3369 22 make && make DESTDIR=$PWD/_pkg install
pankso@3369 23 }
pankso@3369 24
pankso@3369 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3369 26 genpkg_rules()
pankso@3369 27 {
pankso@3369 28 mkdir -p $fs/usr
pankso@3369 29 cp -a $_pkg/usr/* $fs/usr
pankso@3369 30 }
pankso@3369 31
pankso@3369 32 post_install()
pankso@3369 33 {
pankso@3369 34 echo -n "Processing post-install commands..."
pankso@3369 35
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