| 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.6.10.ebuild,v 1.8 2012/10/16 04:12:11 blueness 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/ http://developer.gnome.org/gmime/stable/"
|
| 13 |
|
| 14 |
SLOT="2.6"
|
| 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.18.0:2
|
| 20 |
sys-libs/zlib
|
| 21 |
>=app-crypt/gpgme-1.1.6
|
| 22 |
mono? (
|
| 23 |
dev-lang/mono
|
| 24 |
>=dev-dotnet/glib-sharp-2.4.0:2 )"
|
| 25 |
DEPEND="${RDEPEND}
|
| 26 |
virtual/pkgconfig
|
| 27 |
doc? (
|
| 28 |
>=dev-util/gtk-doc-1.8
|
| 29 |
app-text/docbook-sgml-utils )
|
| 30 |
mono? ( dev-dotnet/gtk-sharp-gapi:2 )"
|
| 31 |
|
| 32 |
# dev-util/gtk-doc-am"
|
| 33 |
# eautoreconf requires dev-util/gtk-doc-am
|
| 34 |
|
| 35 |
pkg_setup() {
|
| 36 |
DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
|
| 37 |
G2CONF="${G2CONF}
|
| 38 |
--enable-cryptography
|
| 39 |
--disable-strict-parser
|
| 40 |
$(use_enable mono)
|
| 41 |
$(use_enable static-libs static)"
|
| 42 |
}
|
| 43 |
|
| 44 |
src_compile() {
|
| 45 |
MONO_PATH="${S}" gnome2_src_compile
|
| 46 |
if use doc; then
|
| 47 |
emake -C docs/tutorial html
|
| 48 |
fi
|
| 49 |
}
|
| 50 |
|
| 51 |
src_install() {
|
| 52 |
GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
|
| 53 |
gnome2_src_install
|
| 54 |
|
| 55 |
if use doc ; then
|
| 56 |
# we don't use docinto/dodoc, because we don't want html doc gzipped
|
| 57 |
insinto /usr/share/doc/${PF}/tutorial
|
| 58 |
doins docs/tutorial/html/*
|
| 59 |
fi
|
| 60 |
}
|