wok-6.x view midori/receipt @ rev 4125

Up: swat, smbclient (3.2.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:02:23 2009 +0000 (2009-09-20)
parents 7e7d31dc7eea
children 6baa574f27fa
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.1.10"
5 CATEGORY="x-window"
6 SHORT_DESC="Light Web Browse using GTK+/WebKit."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="libsexy libwebkit libsoup icu curl openssl sqlite xorg-libXdamage
10 gnutls"
11 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev icu-dev icu curl-dev sqlite-dev"
12 WEB_SITE="http://software.twotoasts.de/?page=midori"
13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.1/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./waf configure --prefix=/usr
20 ./waf build
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p \
27 $fs/usr/bin \
28 $fs/usr/lib/midori \
29 $fs/usr/share/pixmaps \
30 $fs/usr/share/applications \
31 $fs/usr/share/icons/hicolor/22x22/categories \
32 $fs/usr/share/icons/hicolor/22x22/status
33 cp -a $src/_build_/default/midori/midori $fs/usr/bin
34 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
36 for i in de es fr
37 do
38 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
39 cp -a $src/_build_/default/po/$i.mo \
40 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
41 done
42 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
43 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
44 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
45 }