wok rev 3369

zim: Renamed package Zim --> zim
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 11 23:58:16 2009 +0200 (2009-06-11)
parents f21c160be928
children 5d0039136362
files Zim/receipt zim/receipt
line diff
     1.1 --- a/Zim/receipt	Thu Jun 11 23:42:38 2009 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,39 +0,0 @@
     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 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://zim-wiki.org/"
    1.17 -WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
    1.18 -
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	cd $src
    1.23 -	./configure
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 -}
    1.26 -
    1.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 -genpkg_rules()
    1.29 -{
    1.30 -	mkdir -p $fs/usr
    1.31 -	cp -a $_pkg/usr/* $fs/usr
    1.32 -}
    1.33 -
    1.34 -post_install()
    1.35 -{
    1.36 -	echo -n "Processing post-install commands..." 
    1.37 -
    1.38 -	# Create mimeinfo.cache in /usr/share/applications
    1.39 -	update-desktop-database
    1.40 -	status
    1.41 -}
    1.42 -
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/zim/receipt	Thu Jun 11 23:58:16 2009 +0200
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="zim"
     2.7 +VERSION="0.28"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="A desktop wiki."
    2.10 +MAINTAINER="paul@slitaz.org"
    2.11 +DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    2.12 +perl-file-mimeinfo desktop-file-utils xdg-utils"
    2.13 +BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    2.14 +perl-file-mimeinfo desktop-file-utils xdg-utils"
    2.15 +SOURCE="Zim"
    2.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.17 +WEB_SITE="http://zim-wiki.org/"
    2.18 +WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	cd $src
    2.24 +	./configure
    2.25 +	make && make DESTDIR=$PWD/_pkg install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $_pkg/usr/* $fs/usr
    2.33 +}
    2.34 +
    2.35 +post_install()
    2.36 +{
    2.37 +	echo -n "Processing post-install commands..." 
    2.38 +
    2.39 +	# Create mimeinfo.cache in /usr/share/applications
    2.40 +	update-desktop-database
    2.41 +	status
    2.42 +}
    2.43 +