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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Jul 29 17:50:33 2012 UTC (7 years, 2 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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.1.ebuild,v 1.10 2012/02/04 18:55:01 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/dillo.png"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa 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}"/dillo2-inbuf.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 default
42 if use doc; then
43 doxygen Doxyfile || die
44 fi
45 }
46
47 src_install() {
48 dodir /etc
49 default
50
51 use doc && dohtml html/*
52 dodoc AUTHORS ChangeLog README NEWS
53 docinto doc
54 dodoc doc/*.txt doc/README
55
56 doicon "${DISTDIR}"/dillo.png
57 make_desktop_entry ${PN} Dillo
58 }
59
60 pkg_postinst() {
61 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
62 elog "You can copy this to ~/.dillo/ and customize it"
63 }

  ViewVC Help
Powered by ViewVC 1.1.20