summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-02-05 09:28:31 +0100
committerAaron Bauman <bman@gentoo.org>2019-02-09 14:54:58 -0500
commitdba67117b6a9c0aa92abc9b8dadab619137eeb69 (patch)
tree4757a3c274d1ba35922e942fb619cff0a8425da6 /net-mail
parentsys-firmware/sgabios: remove old (EAPI4) (diff)
downloadgentoo-dba67117b6a9c0aa92abc9b8dadab619137eeb69.tar.gz
gentoo-dba67117b6a9c0aa92abc9b8dadab619137eeb69.tar.bz2
gentoo-dba67117b6a9c0aa92abc9b8dadab619137eeb69.zip
net-mail/metamail: remove old (EAPI4)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10984 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/metamail/metamail-2.7.53.3-r1.ebuild66
1 files changed, 0 insertions, 66 deletions
diff --git a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild b/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
deleted file mode 100644
index 0fc5a95cabe2..000000000000
--- a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools eutils toolchain-funcs versionator
-
-MY_PV=$(get_version_component_range 1-2)
-DEB_PV=${MY_PV}-$(get_version_component_range 3)
-
-DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
-HOMEPAGE="http://ftp.funet.fi/pub/unix/mail/metamail/"
-SRC_URI="http://ftp.funet.fi/pub/unix/mail/metamail/mm${MY_PV}.tar.Z
- mirror://debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
-IUSE="static-libs"
-
-DEPEND="sys-libs/ncurses
- app-arch/sharutils
- net-mail/mailbase"
-RDEPEND="app-misc/mime-types
- sys-apps/debianutils
- !app-misc/run-mailcap"
-
-S=${WORKDIR}/mm${MY_PV}/src
-
-src_prepare() {
- epatch "${WORKDIR}"/metamail_${DEB_PV}.diff
- epatch "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch
- epatch "${FILESDIR}"/${P}-glibc-2.10.patch
-
- # respect CFLAGS
- sed -i -e 's/CFLAGS/LIBS/' \
- "${S}"/src/{metamail,richmail}/Makefile.am || die
-
- # add missing include - QA
- sed -i -e '/config.h/a #include <string.h>' \
- "${S}"/src/metamail/shared.c || die
-
- # Fix building with ncurses[tinfo]
- sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
- src/richmail/Makefile.am \
- src/metamail/Makefile.am || die
- eautoreconf
- chmod +x "${S}"/configure
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_compile() {
- emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
-}
-
-src_install () {
- emake DESTDIR="${D}" install
- dodoc CREDITS README
- rm man/mmencode.1
- doman man/* debian/mimencode.1 debian/mimeit.1
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-}