wok-current view midori/receipt @ rev 4219
xfce4-mixer: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 12:55:55 2009 +0200 (2009-09-24) |
parents | 883faa0c43cc |
children | 92c33162b915 |
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 test -f done.midori-websettings.c.u || \
20 ( patch -p1 -i ../stuff/midori-websettings.c.u && touch done.midori-websettings.c.u )
22 ./waf configure --prefix=/usr
23 ./waf build
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p \
30 $fs/usr/bin \
31 $fs/usr/lib/midori \
32 $fs/usr/share/pixmaps \
33 $fs/usr/share/applications \
34 $fs/usr/share/icons/hicolor/22x22/categories \
35 $fs/usr/share/icons/hicolor/22x22/status
36 cp -a $src/_build_/default/midori/midori $fs/usr/bin
37 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
39 for i in de es fr
40 do
41 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
42 cp -a $src/_build_/default/po/$i.mo \
43 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
44 done
45 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
46 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
47 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
48 }