diff options
Diffstat (limited to 'net-mail/mpack/mpack-1.6-r3.ebuild')
-rw-r--r-- | net-mail/mpack/mpack-1.6-r3.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-mail/mpack/mpack-1.6-r3.ebuild b/net-mail/mpack/mpack-1.6-r3.ebuild new file mode 100644 index 000000000000..5a25600aa5cc --- /dev/null +++ b/net-mail/mpack/mpack-1.6-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +AT_M4DIR=cmulocal + +inherit eutils autotools + +DESCRIPTION="Command-line MIME encoding and decoding utilities" +HOMEPAGE="ftp://ftp.andrew.cmu.edu/pub/mpack/" +SRC_URI="ftp://ftp.andrew.cmu.edu/pub/mpack/${P}.tar.gz" + +SLOT="0" +LICENSE="HPND" +KEYWORDS="amd64 x86 ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-filenames.patch + epatch "${FILESDIR}"/${P}-usage.patch + epatch "${FILESDIR}"/${P}-munpack.patch + + # NOTE: These three patches replace <mpack-1.6-gentoo.patch> + epatch "${FILESDIR}"/${P}-compile.patch + epatch "${FILESDIR}"/${P}-paths.patch + epatch "${FILESDIR}"/${P}-cve-2011-4919.patch + + epatch "${FILESDIR}"/${P}-clang.patch + + eautoreconf +} + +src_install () { + emake DESTDIR="${D}" install || die + dodoc README.* Changes +} |