gentoo-overlay/net-mail/sendEmail/sendEmail-1.56-r1.ebuild

28 lines
670 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MY_P="${PN}-v${PV}"
inherit base
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="ssl"
DEPEND=""
RDEPEND="dev-lang/perl
ssl? ( dev-perl/IO-Socket-SSL )"
PATCHES=( "${FILESDIR}/${PV}-overzealous-version-check.patch" )
S="${WORKDIR}/${MY_P}"
src_install() {
dobin sendEmail || die "failed to install sendEmail script"
dodoc CHANGELOG README TODO
}