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.
58 lines
1.3 KiB
58 lines
1.3 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
11 years ago
|
|
||
|
EAPI=5
|
||
|
inherit autotools eutils
|
||
|
|
||
|
DESCRIPTION="Small program to test performances of remote servers"
|
||
|
HOMEPAGE="http://echoping.sourceforge.net/"
|
||
9 years ago
|
SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz"
|
||
11 years ago
|
LICENSE="GPL-2"
|
||
|
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~hppa ~x86"
|
||
|
IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
|
||
|
RESTRICT="test"
|
||
|
|
||
|
RDEPEND="idn? ( net-dns/libidn )
|
||
8 years ago
|
postgres? ( dev-db/postgresql:* )
|
||
11 years ago
|
ldap? ( net-nds/openldap )
|
||
|
ssl? (
|
||
8 years ago
|
gnutls? ( >=net-libs/gnutls-3.3:= )
|
||
|
!gnutls? ( >=dev-libs/openssl-0.9.7d:= )
|
||
11 years ago
|
)"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=sys-devel/libtool-2"
|
||
|
|
||
|
REQUIRED_USE="gnutls? ( ssl )"
|
||
|
|
||
|
DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
|
||
8 years ago
|
epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
|
||
|
epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
|
||
11 years ago
|
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_enable http) \
|
||
|
$(use_enable icp) \
|
||
|
$(use_enable priority) \
|
||
|
$(use_enable smtp) \
|
||
|
$(use_enable tos) \
|
||
|
$(use_with idn libidn) \
|
||
|
$(usex gnutls $(use_with gnutls) $(use_with ssl)) \
|
||
|
--config-cache \
|
||
|
--disable-static \
|
||
|
--disable-ttcp
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
prune_libtool_files
|
||
|
}
|