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

EAPI=8

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://github.com/inflex/alterMIME/archive/refs/tags/${PV}.tar.gz
		-> ${P}.tar.gz
"
S="${WORKDIR}/alterMIME-${PV}"

LICENSE="Sendmail"
SLOT="0"
KEYWORDS="~amd64 ppc x86"

PATCHES=(
	"${FILESDIR}/${PN}-0.3.11-respect-flags.patch"
)

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

src_install() {
	dobin altermime
	einstalldocs
}