blob: 629aeb230bea8a089d8dec9cfa9d6953296644f7 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/uzbl-0_pre20091107.ebuild,v 1.1 2009/12/04 00:42:12 wired Exp $
EAPI="2"
inherit base
MY_PV=${PV/*_pre}
MY_PV=${MY_PV:0:4}.${MY_PV:4:2}.${MY_PV:6}
DESCRIPTION="A keyboard controlled (modal vim-like bindings, or with modifierkeys) browser based on Webkit."
HOMEPAGE="http://www.uzbl.org"
SRC_URI="http://github.com/Dieterbe/${PN}/tarball/${MY_PV} -> ${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="helpers"
COMMON_DEPEND="
>=net-libs/webkit-gtk-1.1.7
>=net-libs/libsoup-2.26.2
>=x11-libs/gtk+-2.14
>=dev-libs/icu-4.0.1
"
DEPEND="
>=dev-util/pkgconfig-0.19
${COMMON_DEPEND}
"
RDEPEND="
${COMMON_DEPEND}
helpers? (
x11-misc/dmenu
net-misc/socat
x11-misc/xclip
gnome-extra/zenity
)
"
src_prepare() {
cd "${WORKDIR}"/Dieterbe-uzbl-*
S=$(pwd)
# patch Makefile to make it more sane
epatch "${FILESDIR}"/"${PN}"-makefile-cleanup.patch
# adjust path in default config file to /usr/share
sed -i "s:/usr/local/share/uzbl:/usr/share/uzbl:g" \
examples/config/uzbl/config ||
die "config path sed failed"
}
src_compile() {
emake || die "compile failed"
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install || die "Installation failed"
# Move the docs to /usr/share/doc instead.
dodoc AUTHORS README docs/*
}
|