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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 4 05:30:08 2015 UTC (4 years, 3 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

1 # Copyright 1999-2015 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.1.ebuild,v 1.1 2014/12/27 10:17:45 jer Exp $
4
5 EAPI=5
6 inherit eutils multilib toolchain-funcs
7
8 DESCRIPTION="Lean FLTK based web browser"
9 HOMEPAGE="http://www.dillo.org/"
10 SRC_URI="http://www.dillo.org/download/${P}.tar.bz2
11 mirror://gentoo/${PN}.png"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
16 IUSE="doc +gif ipv6 +jpeg +png ssl"
17
18 RDEPEND="
19 >=x11-libs/fltk-1.3
20 sys-libs/zlib
21 jpeg? ( virtual/jpeg:0 )
22 png? ( >=media-libs/libpng-1.2:0 )
23 ssl? ( dev-libs/openssl:0 )
24 "
25 DEPEND="
26 ${RDEPEND}
27 doc? ( app-doc/doxygen )
28 "
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${PN}2-inbuf.patch
32 }
33
34 src_configure() {
35 econf \
36 $(use_enable gif) \
37 $(use_enable ipv6) \
38 $(use_enable jpeg) \
39 $(use_enable png) \
40 $(use_enable ssl) \
41 --docdir="/usr/share/doc/${PF}"
42 }
43
44 src_compile() {
45 emake AR=$(tc-getAR)
46 if use doc; then
47 doxygen Doxyfile || die
48 fi
49 }
50
51 src_install() {
52 dodir /etc
53 default
54
55 use doc && dohtml html/*
56 dodoc AUTHORS ChangeLog README NEWS
57 dodoc doc/*.txt doc/README
58
59 doicon "${DISTDIR}"/${PN}.png
60 make_desktop_entry ${PN} Dillo
61 }
62
63 pkg_postinst() {
64 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
65 elog "You can copy this to ~/.dillo/ and customize it"
66 }

  ViewVC Help
Powered by ViewVC 1.1.20