wok-6.x view midori/receipt @ rev 5128
Up: tazusb(2.3) + Improve recipe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 21 23:09:04 2010 +0100 (2010-03-21) |
parents | 9b4cbd2f3b0e |
children | fb872618d39b |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.2.4"
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 ./configure \
19 --prefix=/usr \
20 --enable-sqlite \
21 --enable-addons \
22 --disable-unique \
23 --disable-hildon &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p \
32 $fs/usr/share/pixmaps \
33 $fs/usr/share/icons
34 cp -a $_pkg/etc $fs
35 cp stuff/config $fs/etc/xdg/midori
36 cp stuff/bookmarks.xbel $fs/etc/xdg/midori
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 cd $fs/usr/share/pixmaps
42 ln -s ../icons/hicolor/22x22/apps/midori.png .
43 }