wok-current view midori/receipt @ rev 5025
midori: improve receipt and deps (under 5MB!! now)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:45:18 2010 +0000 (2010-03-02) |
parents | 5b44af8c1257 |
children | 49e1f71ca4d1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.2.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 libnotify gcc-lib-base libgnutls"
10 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev sqlite-dev"
11 WEB_SITE="http://software.twotoasts.de/?page=midori"
12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 #patch -p 0 < ../stuff/midori-websettings.patch || exit 1
19 #./waf configure --prefix=/usr
20 #./waf build
21 ./configure --prefix=/usr \
22 --enable-sqlite \
23 --enable-addons \
24 --enable-nls \
25 --disable-hildon &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/pixmaps \
35 $fs/usr/share/icons
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
40 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
41 cp $_pkg/usr/share/icons/hicolor/22x22/apps/midori.png $fs/usr/share/pixmaps
43 }