wok view midori/receipt @ rev 4077

Add: get-wakoopa
author Liu Peng <rocky@slitaz.org>
date Mon Sep 14 08:32:36 2009 +0000 (2009-09-14)
parents fcee7f1f26cf
children 883faa0c43cc
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.1.9"
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 }