You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-ftp/tlswrap/tlswrap-1.04-r3.ebuild

39 lines
827 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="FTP wrapper which supports TLS with every FTP client"
HOMEPAGE="http://www.tlswrap.com/"
SRC_URI="http://www.tlswrap.com/${P}.tar.gz"
# GPL-2 for Gentoo init script
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libressl"
DEPEND="!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-libressl.patch"
"${FILESDIR}/respect-cflags.patch"
"${FILESDIR}/modernize-am_init_automake.patch"
"${FILESDIR}/fix-Wformat-security-warnings.patch"
)
src_prepare() {
default
eautoreconf
}
src_install() {
emake prefix="${D}/usr" install
dodoc ChangeLog README
newinitd "${FILESDIR}/tlswrap.init" tlswrap
}