summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libmail')
-rw-r--r--dev-libs/libmail/ChangeLog11
-rw-r--r--dev-libs/libmail/libmail-0.3-r1.ebuild42
-rw-r--r--dev-libs/libmail/metadata.xml3
3 files changed, 51 insertions, 5 deletions
diff --git a/dev-libs/libmail/ChangeLog b/dev-libs/libmail/ChangeLog
index 3eee536ce9d9..f8e12c5b218d 100644
--- a/dev-libs/libmail/ChangeLog
+++ b/dev-libs/libmail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libmail
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmail/ChangeLog,v 1.3 2010/06/28 19:41:52 fauli Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmail/ChangeLog,v 1.4 2012/12/19 17:21:40 hwoarang Exp $
+
+*libmail-0.3-r1 (19 Dec 2012)
+
+ 19 Dec 2012; Markos Chandras <hwoarang@gentoo.org> +libmail-0.3-r1.ebuild,
+ metadata.xml:
+ Respect CFLAGS. Bug #430520
28 Jun 2010; Christian Faulhammer <fauli@gentoo.org> libmail-0.3.ebuild:
stable x86, bug 325765
@@ -15,4 +21,3 @@
Initial commit of libmail library. Moved from sunrise overlay. Fixes bug
#270065. Thanks to Dimitris Mandalidis <mandas@users.sourceforge.net> for
the initial ebuild
-
diff --git a/dev-libs/libmail/libmail-0.3-r1.ebuild b/dev-libs/libmail/libmail-0.3-r1.ebuild
new file mode 100644
index 000000000000..00a08129396f
--- /dev/null
+++ b/dev-libs/libmail/libmail-0.3-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmail/libmail-0.3-r1.ebuild,v 1.1 2012/12/19 17:21:40 hwoarang Exp $
+
+EAPI=5
+
+inherit autotools
+
+DESCRIPTION="A mail handling library"
+HOMEPAGE="http://libmail.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="apop gnutls profile sasl"
+
+DEPEND="gnutls? ( >=net-libs/gnutls-2 )
+ sasl? ( >=dev-libs/cyrus-sasl-2 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Drop quotes from ACLOCAL_AMFLAGS otherwise aclocal will fail
+ # see 447760
+ sed -i -e "/ACLOCAL_AMFLAGS/s:\"::g" Makefile.am || die
+ # Do not unset user's CFLAGS
+ sed -i -e "/^CFLAGS=/s:CFLAGS=\":CFLAGS=\"\$CFLAGS :" configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable apop) \
+ $(use_enable gnutls tls) \
+ $(use_enable profile ) \
+ $(use_enable sasl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/dev-libs/libmail/metadata.xml b/dev-libs/libmail/metadata.xml
index 1fd220b0e0d0..5b08ec6c919e 100644
--- a/dev-libs/libmail/metadata.xml
+++ b/dev-libs/libmail/metadata.xml
@@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
-<email>hwoarang@gentoo.org</email>
-<name>Markos Chandras</name>
+<email>maintainer-needed@gentoo.org</email>
</maintainer>
<use>
<flag name='apop'>Enables the APOP authentication method</flag>