1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils multilib toolchain-funcs
7 DESCRIPTION="Lean FLTK based web browser"
8 HOMEPAGE="https://www.dillo.org/"
9 SRC_URI="https://www.dillo.org/download/${P}.tar.bz2
10 mirror://gentoo/${PN}.png"
14 KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 sparc x86"
15 IUSE="doc +gif ipv6 +jpeg +png ssl"
20 jpeg? ( virtual/jpeg:0 )
21 png? ( >=media-libs/libpng-1.2:0 )
22 ssl? ( dev-libs/openssl:0= )
26 doc? ( app-doc/doxygen )
30 epatch "${FILESDIR}"/${PN}2-inbuf.patch
40 --docdir="/usr/share/doc/${PF}"
46 doxygen Doxyfile || die
54 use doc && dohtml html/*
55 dodoc AUTHORS ChangeLog README NEWS
56 dodoc doc/*.txt doc/README
58 doicon "${DISTDIR}"/${PN}.png
59 make_desktop_entry ${PN} Dillo
63 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
64 elog "You can copy this to ~/.dillo/ and customize it"