/[gentoo-x86]/www-client/dillo/dillo-3.0.4.9999.ebuild
Gentoo

Contents of /www-client/dillo/dillo-3.0.4.9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat May 3 20:55:26 2014 UTC (5 years, 5 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-3.0.4.9999.ebuild,v 1.1 2014/02/02 19:52:52 jer Exp $
4
5 EAPI=5
6 inherit autotools eutils flag-o-matic mercurial multilib toolchain-funcs
7
8 DESCRIPTION="Lean FLTK based web browser"
9 HOMEPAGE="http://www.dillo.org/"
10 EHG_REPO_URI="http://hg.dillo.org/dillo"
11 SRC_URI="mirror://gentoo/${PN}.png"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="doc +gif ipv6 +jpeg +png ssl"
17
18 RDEPEND="sys-libs/zlib
19 >=x11-libs/fltk-1.3:1[-cairo]
20 jpeg? ( virtual/jpeg )
21 png? ( >=media-libs/libpng-1.2:0 )
22 ssl? ( dev-libs/openssl:0 )"
23 DEPEND="${RDEPEND}
24 doc? ( app-doc/doxygen )"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PN}2-inbuf.patch
28 eautoreconf
29 }
30
31 src_configure() {
32 append-ldflags "-L/usr/$(get_libdir)/fltk"
33
34 econf \
35 $(use_enable gif) \
36 $(use_enable ipv6) \
37 $(use_enable jpeg) \
38 $(use_enable png) \
39 $(use_enable ssl) \
40 --docdir="/usr/share/doc/${PF}"
41 }
42
43 src_compile() {
44 emake AR=$(tc-getAR)
45 if use doc; then
46 doxygen Doxyfile || die
47 fi
48 }
49
50 src_install() {
51 dodir /etc
52 default
53
54 use doc && dohtml html/*
55 dodoc AUTHORS ChangeLog README NEWS
56 dodoc doc/*.txt doc/README
57
58 doicon "${DISTDIR}"/${PN}.png
59 make_desktop_entry ${PN} Dillo
60 }
61
62 pkg_postinst() {
63 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
64 elog "You can copy this to ~/.dillo/ and customize it"
65 }

  ViewVC Help
Powered by ViewVC 1.1.20