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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Nov 19 09:50:05 2012 UTC (6 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
net-libs/libssh2: Keyworded for ~*-linux, tested by me

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 # Copyright 1999-2012 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.4.2.ebuild,v 1.8 2012/08/26 17:09:07 armin76 Exp $
4
5 EAPI="4"
6
7 inherit autotools-utils
8
9 DESCRIPTION="Library implementing the SSH2 protocol"
10 HOMEPAGE="http://www.libssh2.org/"
11 SRC_URI="http://www.${PN}.org/download/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
16 IUSE="gcrypt static-libs test zlib"
17
18 DEPEND="!gcrypt? ( dev-libs/openssl )
19 gcrypt? ( dev-libs/libgcrypt )
20 zlib? ( sys-libs/zlib )"
21 RDEPEND="${DEPEND}"
22
23 DOCS=( README )
24
25 PATCHES=( "${FILESDIR}"/${P}-pkgconfig.patch )
26
27 src_configure() {
28 local myeconfargs
29
30 if use gcrypt; then
31 myeconfargs+=" --with-libgcrypt"
32 else
33 myeconfargs+=" --with-openssl"
34 fi
35
36 # Disable tests that require extra permissions (bug #333319)
37 use test && export ac_cv_path_SSHD=
38
39 myeconfargs+=(
40 $(use_with zlib libz)
41 )
42 autotools-utils_src_configure
43 }

  ViewVC Help
Powered by ViewVC 1.1.13