wok-stable diff zim/receipt @ rev 4575
lighttpd: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 20:47:04 2009 +0100 (2009-12-09) |
parents | |
children | 50a4a6515dd0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zim/receipt Wed Dec 09 20:47:04 2009 +0100 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 +