wok view midori/receipt @ rev 12661
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 01 10:13:22 2012 +0200 (2012-05-01) |
parents | 0a352dc005b7 |
children | be4730f4e0c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.5"
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:0:3}/$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 -sf ../icons/hicolor/22x22/apps/midori.png .
52 }