diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-05-22 14:53:40 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-05-22 14:53:40 +0000 |
commit | 99a12ce3931c2ba71761131d3b1e7fcf2c03951e (patch) | |
tree | b9c9d4fd8c625568a8e87e9d0c66d3483c460e7b /dev-libs/gmime | |
parent | Stable on ppc. (diff) | |
download | gentoo-2-99a12ce3931c2ba71761131d3b1e7fcf2c03951e.tar.gz gentoo-2-99a12ce3931c2ba71761131d3b1e7fcf2c03951e.tar.bz2 gentoo-2-99a12ce3931c2ba71761131d3b1e7fcf2c03951e.zip |
Backported src_compile() and src_install() from 2.1.14 ebuild to finally fix #70392. "use" instead of "useq" in if conditional.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-libs/gmime')
-rw-r--r-- | dev-libs/gmime/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/gmime/files/digest-gmime-2.1.9-r3 | 1 | ||||
-rw-r--r-- | dev-libs/gmime/gmime-2.1.14.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/gmime/gmime-2.1.9-r3.ebuild | 54 |
4 files changed, 65 insertions, 3 deletions
diff --git a/dev-libs/gmime/ChangeLog b/dev-libs/gmime/ChangeLog index 06cbe7d205e4..9f832ec32494 100644 --- a/dev-libs/gmime/ChangeLog +++ b/dev-libs/gmime/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/gmime # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.22 2005/05/21 19:04:30 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.23 2005/05/22 14:53:40 ticho Exp $ + +*gmime-2.1.9-r3 (22 May 2005) + + 22 May 2005; Andrej Kacian <ticho@gentoo.org> +gmime-2.1.9-r3.ebuild, + gmime-2.1.14.ebuild: + Backported src_compile() and src_install() from 2.1.14 ebuild to finally fix + #70392. "use" instead of "useq" in if conditional. *gmime-2.1.9-r2 (21 May 2005) diff --git a/dev-libs/gmime/files/digest-gmime-2.1.9-r3 b/dev-libs/gmime/files/digest-gmime-2.1.9-r3 new file mode 100644 index 000000000000..67fd5187ffea --- /dev/null +++ b/dev-libs/gmime/files/digest-gmime-2.1.9-r3 @@ -0,0 +1 @@ +MD5 8bd24a56d5f56be9150deb9840a0812a gmime-2.1.9.tar.gz 784545 diff --git a/dev-libs/gmime/gmime-2.1.14.ebuild b/dev-libs/gmime/gmime-2.1.14.ebuild index 926d5cd4ee20..acb2ec73c346 100644 --- a/dev-libs/gmime/gmime-2.1.14.ebuild +++ b/dev-libs/gmime/gmime-2.1.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.1.14.ebuild,v 1.3 2005/05/06 16:00:15 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.1.14.ebuild,v 1.4 2005/05/22 14:53:40 ticho Exp $ inherit gnome2 eutils mono @@ -44,7 +44,7 @@ src_install() { make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ DESTDIR=${D} install || die - if useq doc; then + if use doc ; then docinto tutorial dodoc docs/tutorial/html/* fi diff --git a/dev-libs/gmime/gmime-2.1.9-r3.ebuild b/dev-libs/gmime/gmime-2.1.9-r3.ebuild new file mode 100644 index 000000000000..198397a21250 --- /dev/null +++ b/dev-libs/gmime/gmime-2.1.9-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.1.9-r3.ebuild,v 1.1 2005/05/22 14:53:40 ticho Exp $ + +inherit gnome2 eutils + +IUSE="doc ipv6" +DESCRIPTION="Utilities for creating and parsing messages using MIME" +SRC_URI="http://spruce.sourceforge.net/gmime/sources/v${PV%.*}/${P}.tar.gz" +HOMEPAGE="http://spruce.sourceforge.net/gmime/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64 ppc sparc ~alpha" + +RDEPEND=">=dev-libs/glib-2 + doc? ( >=dev-util/gtk-doc-1.0 )" + +DEPEND="dev-util/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + #db2html should be docbook2html + sed -i -e 's:db2html:docbook2html:g' \ + docs/tutorial/Makefile.am docs/tutorial/Makefile.in \ + || die "sed failed (1)" +} + +src_compile() { + econf \ + `use_enable ipv6` \ + `use_enable doc gtk-doc` || die "configure failed" + emake || die "configure failed" +} + +src_install() { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + if use doc ; then + docinto tutorial + dodoc docs/tutorial/html/* + fi + + # rename these two, so they don't conflict with app-arch/sharutils + # (bug #70392) Ticho, 2004-11-10 + mv ${D}/usr/bin/uuencode ${D}/usr/bin/gmime-uuencode + mv ${D}/usr/bin/uudecode ${D}/usr/bin/gmime-uudecode +} + +DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PORTING README TODO doc/html/" |