wok-next view midori/receipt @ rev 3677

Add apachece-mod-perl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 12:24:18 2009 +0200 (2009-07-11)
parents 94a44acac29c
children fcee7f1f26cf
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 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://goodies.xfce.org/releases/midori/$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 }