/[gentoo-x86]/dev-libs/gmime/gmime-2.4.32.ebuild
Gentoo

Contents of /dev-libs/gmime/gmime-2.4.32.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jul 15 16:18:40 2012 UTC (21 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
alpha/ia64/sparc stable wrt #410611

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.32.ebuild,v 1.8 2012/05/24 13:38:23 ssuominen Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2 eutils mono
10
11 DESCRIPTION="Utilities for creating and parsing messages using MIME"
12 HOMEPAGE="http://spruce.sourceforge.net/gmime/"
13
14 SLOT="2.4"
15 LICENSE="LGPL-2.1"
16 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
17 IUSE="doc mono static-libs"
18
19 RDEPEND=">=dev-libs/glib-2.12:2
20 sys-libs/zlib
21 mono? (
22 dev-lang/mono
23 >=dev-dotnet/glib-sharp-2.4.0:2 )"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 doc? (
27 >=dev-util/gtk-doc-1.8
28 app-text/docbook-sgml-utils )
29 mono? ( dev-dotnet/gtk-sharp-gapi:2 )"
30
31 # dev-util/gtk-doc-am"
32 # eautoreconf requires dev-util/gtk-doc-am
33
34 pkg_setup() {
35 DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
36 G2CONF="${G2CONF}
37 --enable-cryptography
38 $(use_enable mono)
39 $(use_enable static-libs static)"
40 }
41
42 src_compile() {
43 MONO_PATH="${S}" gnome2_src_compile
44 if use doc; then
45 emake -C docs/tutorial html
46 fi
47 }
48
49 src_install() {
50 GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
51 gnome2_src_install
52
53 if use doc ; then
54 # we don't use docinto/dodoc, because we don't want html doc gzipped
55 insinto /usr/share/doc/${PF}/tutorial
56 doins docs/tutorial/html/*
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20