blob: ba89bea3e5f5ce8a65b2ae32f61030ddcda3288d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/mpack-1.6-r2.ebuild,v 1.6 2012/01/14 18:44:57 armin76 Exp $
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="as-is"
KEYWORDS="amd64 x86 ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${P}-filenames.patch
epatch "${FILESDIR}"/${P}-usage.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
eautoreconf
}
src_install () {
emake DESTDIR="${D}" install || die
dodoc README.* Changes
}
|