wok view midori/receipt @ rev 4925

rp-l2tp: set tags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 16 10:30:02 2010 +0100 (2010-02-16)
parents 85e92e787b19
children 5b44af8c1257
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.2.2"
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 libssl sqlite xorg-libXdamage \
10 gnutls"
11 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev \
12 icu-dev icu curl-dev sqlite-dev"
13 WEB_SITE="http://software.twotoasts.de/?page=midori"
14 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 #patch -p 0 < ../stuff/midori-websettings.patch || exit 1
21 ./waf configure --prefix=/usr
22 ./waf build
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p \
29 $fs/usr/bin \
30 $fs/usr/lib/midori \
31 $fs/usr/share/pixmaps \
32 $fs/usr/share/applications \
33 $fs/usr/share/icons/hicolor/22x22/categories \
34 $fs/usr/share/icons/hicolor/22x22/status
35 cp -a $src/_build_/default/midori/midori $fs/usr/bin
36 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
38 for i in de es fr
39 do
40 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
41 cp -a $src/_build_/default/po/$i.mo \
42 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
43 done
44 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
45 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
46 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
47 }