summaryrefslogtreecommitdiff
blob: d354ffdabf50ca5c21aba9e7449d8293c45853d8 (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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${PN}-v${PV}"
DESCRIPTION="Command line based, SMTP email agent"
HOMEPAGE="http://caspian.dotconf.net/menu/Software/SendEmail/"
SRC_URI="http://caspian.dotconf.net/menu/Software/SendEmail/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="ssl"

RDEPEND="
	dev-lang/perl
	ssl? ( dev-perl/IO-Socket-SSL )
"

PATCHES=(
	"${FILESDIR}"/${PV}-overzealous-version-check.patch
	"${FILESDIR}"/${PV}-overzealous-verify-mode-check.patch
	"${FILESDIR}"/${PV}-openssl-1.1.patch
)

src_install() {
	dobin sendEmail
	dodoc CHANGELOG README TODO
}