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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jan 5 18:12:31 2012 UTC (7 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha84/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-9999.ebuild,v 1.5 2010/11/08 12:38:58 nelchael Exp $
4
5 EAPI="2"
6 inherit eutils flag-o-matic multilib mercurial
7
8 DESCRIPTION="Lean FLTK2-based web browser"
9 HOMEPAGE="http://www.dillo.org/"
10 EHG_REPO_URI="http://hg.dillo.org/dillo"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="doc +gif ipv6 +jpeg +png ssl"
16
17 RDEPEND="x11-libs/fltk:2[-cairo,jpeg=,png=]
18 sys-libs/zlib
19 jpeg? ( virtual/jpeg )
20 png? ( media-libs/libpng )
21 ssl? ( dev-libs/openssl )"
22 DEPEND="${RDEPEND}
23 doc? ( app-doc/doxygen )"
24
25 S="${WORKDIR}/${PN}"
26
27 src_prepare() {
28 epatch "${FILESDIR}"/dillo2-inbuf.patch
29 ./autogen.sh
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 "make failed"
44 if use doc ; then
45 doxygen Doxyfile || die "doxygen failed"
46 fi
47 }
48
49 src_install() {
50 dodir /etc
51 emake DESTDIR="${D}" install || die "install failed"
52
53 if use doc; then
54 dohtml html/* || die "install documentation failed"
55 fi
56 dodoc AUTHORS ChangeLog README NEWS
57 docinto doc
58 dodoc doc/*.txt doc/README
59
60 doicon "${FILESDIR}"/dillo.png
61 make_desktop_entry dillo 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