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

Contents of /www-client/dillo/dillo-2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 15 22:22:03 2009 UTC (10 years, 3 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removing vulnerable versions wrt bug 276432 now that 2.1.1 is stable on all arches
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-2.0-r1.ebuild,v 1.1 2009/04/17 15:11:02 yngwin Exp $
4
5 EAPI="2"
6 inherit eutils flag-o-matic multilib
7
8 DESCRIPTION="Lean FLTK2-based web browser"
9 HOMEPAGE="http://www.dillo.org/"
10 SRC_URI="http://www.dillo.org/download/${P}.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
15 IUSE="doc +gif ipv6 +jpeg +png ssl"
16
17 RDEPEND="x11-libs/fltk:2[-cairo,jpeg=,png=]
18 sys-libs/zlib
19 jpeg? ( media-libs/jpeg )
20 png? ( media-libs/libpng )
21 ssl? ( dev-libs/openssl )"
22 DEPEND="${RDEPEND}
23 doc? ( app-doc/doxygen )"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/dillo2-inbuf.patch
27 use ssl && epatch "${FILESDIR}"/${P}-enable-ssl.patch
28 }
29
30 src_configure() {
31 append-ldflags "-L/usr/$(get_libdir)/fltk"
32 econf \
33 $(use_enable gif) \
34 $(use_enable ipv6) \
35 $(use_enable jpeg) \
36 $(use_enable png) \
37 $(use_enable ssl)
38 }
39
40 src_compile() {
41 emake || die "make failed"
42 if use doc ; then
43 doxygen Doxyfile || die "doxygen failed"
44 fi
45 }
46
47 src_install() {
48 dodir /etc
49 emake DESTDIR="${D}" install || die "install failed"
50
51 if use doc; then
52 dohtml html/* || die "install documentation failed"
53 fi
54 dodoc AUTHORS ChangeLog README NEWS
55 docinto doc
56 dodoc doc/*.txt doc/README
57
58 doicon "${FILESDIR}"/dillo.png
59 make_desktop_entry dillo Dillo dillo
60
61 elog "Dillo has installed a default configuration into /etc/dillorc"
62 elog "You can copy this to ~/.dillo/ and customize it"
63 }

  ViewVC Help
Powered by ViewVC 1.1.20