wok-6.x view midori/receipt @ rev 14229
nspr-dev: tiny edit
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Mar 22 07:32:45 2013 +0100 (2013-03-22) |
parents | 1e96db115fc0 |
children | 68d68791ced5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.4.8"
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-zeitgeist &&
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 }