summaryrefslogtreecommitdiff
path: root/net-mail/altermime/altermime-0.3.12.ebuild
blob: 7a5aaf7381cedb231990c8c3de1896e7bf632b80 (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
}