/[gentoo-x86]/net-libs/libssh2/libssh2-1.5.0.ebuild
Gentoo

Contents of /net-libs/libssh2/libssh2-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Jul 20 06:10:12 2015 UTC (5 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -2 lines
Mark arm64/s390/sh stable.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/libssh2-1.5.0.ebuild,v 1.10 2015/03/30 10:02:11 ago Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=true
8 inherit autotools-multilib
9
10 DESCRIPTION="Library implementing the SSH2 protocol"
11 HOMEPAGE="http://www.libssh2.org/"
12 SRC_URI="http://www.${PN}.org/download/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
17 IUSE="gcrypt static-libs test zlib"
18
19 DEPEND="!gcrypt? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
20 gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
21 zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
22 RDEPEND="${DEPEND}"
23
24 DOCS=( README )
25
26 PATCHES=( "${FILESDIR}"/${PN}-1.4.2-pkgconfig.patch )
27
28 src_prepare() {
29 sed -i -e 's|mansyntax.sh||g' tests/Makefile.am || die
30 autotools-multilib_src_prepare
31 }
32
33 multilib_src_configure() {
34 # Disable tests that require extra permissions (bug #333319)
35 use test && local -x ac_cv_path_SSHD=
36
37 local myeconfargs=(
38 $(use_with zlib libz)
39 $(usex gcrypt --with-libgcrypt --with-openssl)
40 )
41 autotools-utils_src_configure
42 }

  ViewVC Help
Powered by ViewVC 1.1.20