wok-current view midori/receipt @ rev 11465

seed: add intltool to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:45:19 2011 +0100 (2011-12-17)
parents 4d55a17e5b38
children 8abb690cb86e
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.2"
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 }