wok-6.x view midori/receipt @ rev 11960

Merge a patch to fix svg support I forgot to push weeks ago. The problem has been fixed since but I think that this patch handle things better.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Mar 01 18:08:04 2012 +0100 (2012-03-01)
parents c05293a5f7df
children 0a352dc005b7
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.3"
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 sqlite xorg-libXdamage xorg-libXss gcc-lib-base libgnutls"
10 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libsoup-dev sqlite-dev intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss xorg-libXss-dev xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala"
11 WEB_SITE="http://software.twotoasts.de/?page=midori"
12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --jobs=4 \
21 --enable-addons \
22 --disable-libnotify \
23 --disable-unique \
24 --disable-hildon &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/share/pixmaps \
34 $fs/usr/share/icons
35 cp -a $_pkg/etc $fs
36 cp $stuff/config $fs/etc/xdg/midori
37 cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib $fs/usr
40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
41 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
42 cd $fs/usr/share/pixmaps
43 ln -s ../icons/hicolor/22x22/apps/midori.png .
44 }