wok-current view midori/receipt @ rev 12134

Re-fix clutter gtk so it build with both tazwok & cookutils
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 13 21:06:51 2012 +0100 (2012-03-13)
parents 8abb690cb86e
children 1f0ec5d5c74b
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.4"
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 WEB_SITE="http://software.twotoasts.de/?page=midori"
10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss \
13 gcc-lib-base libgnutls"
14 BUILD_DEPENDS="python libsexy-dev libwebkit-dev libsoup-dev sqlite-dev \
15 intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss-dev \
16 xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --jobs=4 \
25 --enable-addons \
26 --disable-libnotify \
27 --disable-unique \
28 --disable-hildon &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p \
37 $fs/usr/share/pixmaps \
38 $fs/usr/share/icons
39 cp -a $install/etc $fs
40 cp $stuff/config $fs/etc/xdg/midori
41 cp $stuff/search $fs/etc/xdg/midori
42 # Midori use sqlite to store bookmarks
43 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
47 # Icons
48 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
49 rm -rf $fs/usr/share/icons/hicolor/scalable
50 cd $fs/usr/share/pixmaps
51 ln -s ../icons/hicolor/22x22/apps/midori.png .
52 }