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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Jul 8 21:49:56 2010 UTC (9 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.1.1.ebuild,v 1.12 2010/06/26 17:55:44 ssuominen 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 arm sparc"
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:0 )
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 }
28
29 src_configure() {
30 append-ldflags "-L/usr/$(get_libdir)/fltk"
31 econf \
32 $(use_enable gif) \
33 $(use_enable ipv6) \
34 $(use_enable jpeg) \
35 $(use_enable png) \
36 $(use_enable ssl)
37 }
38
39 src_compile() {
40 emake || die "make failed"
41 if use doc ; then
42 doxygen Doxyfile || die "doxygen failed"
43 fi
44 }
45
46 src_install() {
47 dodir /etc
48 emake DESTDIR="${D}" install || die "install failed"
49
50 if use doc; then
51 dohtml html/* || die "install documentation failed"
52 fi
53 dodoc AUTHORS ChangeLog README NEWS
54 docinto doc
55 dodoc doc/*.txt doc/README
56
57 doicon "${FILESDIR}"/dillo.png
58 make_desktop_entry dillo Dillo dillo
59
60 elog "Dillo has installed a default configuration into /etc/dillorc"
61 elog "You can copy this to ~/.dillo/ and customize it"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20