wok diff zim/receipt @ rev 3534

merge 3532:012d72b2b629 , 3530:0109c31e8835
author Liu Peng <rocky@slitaz.org>
date Mon Jun 22 17:35:58 2009 +0800 (2009-06-22)
parents
children 50a4a6515dd0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zim/receipt	Mon Jun 22 17:35:58 2009 +0800
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="zim"
     1.7 +VERSION="0.28"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A desktop wiki."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    1.12 +perl-file-mimeinfo desktop-file-utils xdg-utils"
    1.13 +BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    1.14 +perl-file-mimeinfo desktop-file-utils xdg-utils"
    1.15 +SOURCE="Zim"
    1.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 +WEB_SITE="http://zim-wiki.org/"
    1.18 +WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure
    1.25 +	make && make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $_pkg/usr/* $fs/usr
    1.33 +}
    1.34 +
    1.35 +post_install()
    1.36 +{
    1.37 +	echo -n "Processing post-install commands..." 
    1.38 +
    1.39 +	# Create mimeinfo.cache in /usr/share/applications
    1.40 +	update-desktop-database
    1.41 +	status
    1.42 +}
    1.43 +