blob: 864f6d861e8a2a342bb9a0b7647286e079af8546 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.1.8.ebuild,v 1.1 2009/07/27 18:15:32 chainsaw Exp $
EAPI=2
inherit multilib gnome2-utils
DESCRIPTION="A lightweight web browser"
HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
SRC_URI="http://goodies.xfce.org/releases/midori/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="idn soup sqlite"
RDEPEND=">=dev-lang/python-2.4
>=net-libs/webkit-gtk-0_p42000
dev-libs/libunique
dev-libs/libxml2
idn? ( net-dns/libidn )
soup? ( >=net-libs/libsoup-2.25.5 )
sqlite? ( >=dev-db/sqlite-3.0 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
sys-devel/gettext"
src_configure() {
./waf \
--prefix="/usr/" \
--libdir="/usr/$(get_libdir)" \
configure || die "configure failed"
}
src_compile() {
./waf build || die "build failed"
}
src_install() {
DESTDIR=${D} ./waf install || die "install failed"
dodoc AUTHORS ChangeLog INSTALL TODO
}
pkg_postinst() {
gnome2_icon_cache_update
ewarn "Midori tends to crash due to bugs in WebKit."
ewarn "Report bugs at http://www.twotoasts.de/bugs"
}
|