wok view midori/receipt @ rev 13103
Up: raptor to 2.0.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jun 26 18:36:55 2012 +0000 (2012-06-26) |
parents | 1f0ec5d5c74b |
children | 1e96db115fc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.6"
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 && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p \
36 $fs/usr/share/pixmaps \
37 $fs/usr/share/icons
38 cp -a $install/etc $fs
39 cp $stuff/config $fs/etc/xdg/midori
40 cp $stuff/search $fs/etc/xdg/midori
41 # Midori use sqlite to store bookmarks
42 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/$PACKAGE $fs/usr/share
46 # Icons
47 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
48 rm -rf $fs/usr/share/icons/hicolor/scalable
49 cd $fs/usr/share/pixmaps
50 ln -sf ../icons/hicolor/22x22/apps/midori.png .
51 }