summaryrefslogtreecommitdiff
blob: 6893f4002d49c241b7e74f958e76938068be9e20 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/jumanji/jumanji-9999.ebuild,v 1.7 2012/12/18 11:23:26 xmw Exp $

EAPI=2

inherit flag-o-matic git-2 toolchain-funcs

DESCRIPTION="webkit based browser"
HOMEPAGE="http://pwmt.org/projects/jumanji"
SRC_URI=""
EGIT_REPO_URI="git://pwmt.org/jumanji.git"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND=">=dev-libs/glib-2.22.4:2
	>=dev-libs/libunique-1.1.6:1
	>=net-libs/libsoup-2.30.2:2.4
	>=net-libs/webkit-gtk-1.2.1:2
	>=x11-libs/gtk+-2.18.6:2"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	# respect CFLAGS
	sed -i -e '/${CC}/s:${CFLAGS}:\0 ${INCS}:' Makefile || die
}

src_compile() {
	tc-export CC
	append-cflags -std=c99
	emake CFLAGS="${CFLAGS}" DFLAGS="" SFLAGS="" all || die
}

src_install() {
	emake DESTDIR="${D}" install || die
}