summaryrefslogtreecommitdiff
blob: 1e09d54ec526d087e77960c5cb4f9180cb9df1fc (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION=" alterMIME is a small program which is used to alter your mime-encoded mailpacks"
HOMEPAGE="https://pldaniels.com/altermime/"
SRC_URI="https://www.pldaniels.com/altermime/${P}.tar.gz"

KEYWORDS="amd64 ppc x86"

LICENSE="Sendmail"
SLOT="0"
IUSE=""

PATCHES=(
	"${FILESDIR}"/${PN}-0.3.10-MIME_headers-overflow.patch
	"${FILESDIR}"/${P}-respect-flags.patch
)

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install () {
	dobin altermime
	dodoc CHANGELOG README
}