wok-next view midori/receipt @ rev 3331

fix depends libQtcore libQtCore
author Allan Pinto <allan316@gmail.com>
date Wed Jun 10 13:11:29 2009 +0000 (2009-06-10)
parents 296b0ab62537
children b1b4f5518c4e
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.1.7"
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 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev icu-dev icu curl-dev sqlite-dev"
11 WEB_SITE="http://software.twotoasts.de/?page=midori"
12 WGET_URL="http://goodies.xfce.org/releases/midori/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./waf configure --prefix=/usr
19 ./waf build
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p \
26 $fs/usr/bin \
27 $fs/usr/lib/midori \
28 $fs/usr/share/pixmaps \
29 $fs/usr/share/applications \
30 $fs/usr/share/icons/hicolor/22x22/categories \
31 $fs/usr/share/icons/hicolor/22x22/status
32 cp -a $src/_build_/default/midori/midori $fs/usr/bin
33 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
35 for i in de es fr
36 do
37 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
38 cp -a $src/_build_/default/po/$i.mo \
39 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
40 done
41 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
42 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
43 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
44 }