wok-undigest rev 154

Move zim to cooking wok
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Jul 20 19:08:26 2010 +0200 (2010-07-20)
parents a2404d49cd1b
children 8e9d86fb21f5
files zim/receipt
line diff
     1.1 --- a/zim/receipt	Wed Jul 07 10:01:10 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="zim"
     1.7 -VERSION="0.46"
     1.8 -CATEGORY="utilities"
     1.9 -SHORT_DESC="A desktop wiki."
    1.10 -MAINTAINER="gokhlayeh@mailoo.org"
    1.11 -DEPENDS="python pygtk pygobject python-simplejson python-xdg desktop-file-utils shared-mime-info xdg-utils"
    1.12 -BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://zim-wiki.org/"
    1.15 -WGET_URL="http://zim-wiki.org/downloads/$TARBALL"
    1.16 -TAGS="wiki notebook"
    1.17 -
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	cd $src
    1.22 -	./setup.py install --root=$PWD/_pkg install
    1.23 -}
    1.24 -
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 -genpkg_rules()
    1.27 -{
    1.28 -	mkdir -p $fs/usr
    1.29 -	cp -a $_pkg/usr $fs
    1.30 -}
    1.31 -
    1.32 -post_install()
    1.33 -{
    1.34 -	echo -n "Processing post-install commands..." 
    1.35 -	# Create mimeinfo.cache in /usr/share/applications
    1.36 -	update-desktop-database
    1.37 -	update-mime-database /usr/share/mime
    1.38 -	xdg-icon-resource install --context mimetypes \
    1.39 ---size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
    1.40 -	status
    1.41 -}
    1.42 \ No newline at end of file