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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Feb 4 20:30:56 2012 UTC (7 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha84/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-2.2.ebuild,v 1.11 2012/01/05 18:12:31 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 mirror://gentoo/${PN}.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="x11-libs/fltk:2[-cairo,jpeg=,png=]
19 sys-libs/zlib
20 jpeg? ( virtual/jpeg )
21 png? ( media-libs/libpng:0 )
22 ssl? ( dev-libs/openssl:0 )"
23 DEPEND="${RDEPEND}
24 doc? ( app-doc/doxygen )"
25
26 src_prepare() {
27 epatch \
28 "${FILESDIR}"/dillo2-inbuf.patch \
29 "${FILESDIR}"/${P}-libpng14.patch
30 }
31
32 src_configure() {
33 append-ldflags "-L/usr/$(get_libdir)/fltk"
34 econf \
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 emake || die
44 if use doc; then
45 doxygen Doxyfile || die
46 fi
47 }
48
49 src_install() {
50 dodir /etc
51 emake DESTDIR="${D}" install || die
52
53 if use doc; then
54 dohtml html/* || die
55 fi
56 dodoc AUTHORS ChangeLog README NEWS
57 docinto doc
58 dodoc doc/*.txt doc/README
59
60 doicon "${DISTDIR}"/dillo.png
61 make_desktop_entry dillo Dillo
62 }
63
64 pkg_postinst() {
65 elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
66 elog "You can copy this to ~/.dillo/ and customize it"
67 }

  ViewVC Help
Powered by ViewVC 1.1.20