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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Aug 23 09:46:30 2014 UTC (5 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Clean up patch.

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

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/dillo/dillo-3.0.2.ebuild,v 1.11 2012/07/29 16:11:36 armin76 Exp $
4
5 EAPI=4
6 inherit eutils flag-o-matic multilib
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="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 }
29
30 src_configure() {
31 append-ldflags "-L/usr/$(get_libdir)/fltk"
32
33 econf \
34 --docdir="/usr/share/doc/${PF}" \
35 $(use_enable gif) \
36 $(use_enable ipv6) \
37 $(use_enable jpeg) \
38 $(use_enable png) \
39 $(use_enable ssl)
40 }
41
42 src_compile() {
43 default
44 if use doc; then
45 doxygen Doxyfile || die
46 fi
47 }
48
49 src_install() {
50 dodir /etc
51 default
52
53 use doc && dohtml html/*
54 dodoc AUTHORS ChangeLog README NEWS
55 dodoc doc/*.txt doc/README
56
57 doicon "${DISTDIR}"/${PN}.png
58 make_desktop_entry ${PN} Dillo
59 }
60
61 pkg_postinst() {
62 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
63 elog "You can copy this to ~/.dillo/ and customize it"
64 }

  ViewVC Help
Powered by ViewVC 1.1.20