wok diff midori/receipt @ rev 2144
Add beep
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 04 17:44:46 2009 +0000 (2009-02-04) |
parents | 815abac9da78 |
children | faf21c50d61f |
line diff
1.1 --- a/midori/receipt Fri Oct 17 18:01:06 2008 +0000 1.2 +++ b/midori/receipt Wed Feb 04 17:44:46 2009 +0000 1.3 @@ -1,32 +1,44 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="midori" 1.7 -VERSION="0.0.18" 1.8 +VERSION="0.1.2" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Light Web Browse using GTK+/WebKit." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 -DEPENDS="libsexy webkit-r icu curl openssl libldap cyrus-sasl" 1.14 -BUILD_DEPENDS="libsexy-dev libsexy webkit-r-dev webkit-r icu-dev icu curl-dev" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +DEPENDS="libsexy webkit-r icu curl openssl sqlite" 1.17 +BUILD_DEPENDS="python libsexy-dev libsexy webkit-r-dev webkit-r icu-dev icu curl-dev sqlite-dev" 1.18 WEB_SITE="http://software.twotoasts.de/?page=midori" 1.19 -WGET_URL="http://software.twotoasts.de/media/midori/$TARBALL" 1.20 +WGET_URL="http://goodies.xfce.org/releases/midori/$TARBALL" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 cd $src 1.26 - chmod +x install-sh 1.27 - ./configure \ 1.28 - --prefix=/usr \ 1.29 - --mandir=/usr/share/man \ 1.30 - $CONFIGURE_ARGS && 1.31 - make && 1.32 - make DESTDIR=$PWD/_pkg install 1.33 + ./waf configure --prefix=/usr 1.34 + ./waf build 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr 1.41 - cp -a $_pkg/usr/bin $fs/usr 1.42 + mkdir -p \ 1.43 + $fs/usr/bin \ 1.44 + $fs/usr/lib/midori \ 1.45 + $fs/usr/share/pixmaps \ 1.46 + $fs/usr/share/applications \ 1.47 + $fs/usr/share/icons/hicolor/22x22/categories \ 1.48 + $fs/usr/share/icons/hicolor/22x22/status 1.49 + cp -a $src/_build_/default/midori/midori $fs/usr/bin 1.50 + cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori 1.51 + 1.52 + for i in de es fr 1.53 + do 1.54 + mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES 1.55 + cp -a $src/_build_/default/po/$i.mo \ 1.56 + $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo 1.57 + done 1.58 + cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps 1.59 + cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories 1.60 + cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status 1.61 }