/[gentoo-x86]/www-client/dwb/dwb-2012.02.01.ebuild
Gentoo

Contents of /www-client/dwb/dwb-2012.02.01.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 3 06:01:05 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/dwb/dwb-2012.02.01.ebuild,v 1.2 2012/04/17 15:16:39 mgorny Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Dynamic web browser based on WebKit and GTK+"
10 HOMEPAGE="http://portix.bitbucket.org/dwb/"
11 SRC_URI="mirror://bitbucket/portix/dwb/downloads/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="examples gtk3"
17
18 RDEPEND=">=net-libs/libsoup-2.32:2.4
19 !gtk3? (
20 >=net-libs/webkit-gtk-1.4.0:2
21 x11-libs/gtk+:2
22 )
23 gtk3? (
24 >=net-libs/webkit-gtk-1.4.0:3
25 x11-libs/gtk+:3
26 )"
27 DEPEND="${RDEPEND}
28 virtual/pkgconfig"
29
30 src_prepare() {
31 sed -i -e "/^CFLAGS += -\(pipe\|g\|O2\)/d" config.mk || die
32 }
33
34 src_compile() {
35 local myconf
36 use gtk3 && myconf+=" GTK=3"
37
38 emake CC="$(tc-getCC)" ${myconf}
39 }
40
41 src_install() {
42 default
43
44 if use examples ; then
45 dodoc -r examples
46 docompress -x /usr/share/doc/${PF}/examples
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20