diff options
| author | Maciej Mrozowski (reavertm) <reavertm@poczta.fm> | 2009-08-21 06:01:35 +0200 |
|---|---|---|
| committer | Maciej Mrozowski (reavertm) <reavertm@poczta.fm> | 2009-08-21 06:01:35 +0200 |
| commit | f18ad4d3f3e80f640f3d122b0e94d74c9bae0068 (patch) | |
| tree | 467fc2c4c5fc88540fbd970f22679effb9e1417d /net-libs/libssh/libssh-0.3.3.ebuild | |
| parent | 6138fd65834e457d6425e592996cf5f4022d246b (diff) | |
| download | kde-f18ad4d3f3e80f640f3d122b0e94d74c9bae0068.tar.gz kde-f18ad4d3f3e80f640f3d122b0e94d74c9bae0068.tar.bz2 kde-f18ad4d3f3e80f640f3d122b0e94d74c9bae0068.zip | |
[net-libs/libssh] 0.3.3 Version bump (required for sftp kioslave support in KDE 4.4)
Diffstat (limited to 'net-libs/libssh/libssh-0.3.3.ebuild')
| -rw-r--r-- | net-libs/libssh/libssh-0.3.3.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-libs/libssh/libssh-0.3.3.ebuild b/net-libs/libssh/libssh-0.3.3.ebuild new file mode 100644 index 00000000000..48319281a77 --- /dev/null +++ b/net-libs/libssh/libssh-0.3.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.3.0.ebuild,v 1.1 2009/05/25 21:00:09 pva Exp $ + +# Maintainer: check IUSE-defaults at DefineOptions.cmake + +EAPI="2" + +inherit eutils cmake-utils + +DESCRIPTION="Access a working SSH implementation by means of a library" +HOMEPAGE="http://www.libssh.org/" +SRC_URI="http://www.libssh.org/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~ppc ~s390 ~x86" +SLOT="0" +IUSE="debug gcrypt examples +sftp ssh1 server static-libs zlib" + +DEPEND=" + zlib? ( >=sys-libs/zlib-1.2 ) + !gcrypt? ( >=dev-libs/openssl-0.9.8 ) + gcrypt? ( >=dev-libs/libgcrypt-1.4 ) +" +RDEPEND="${DEPEND}" + +DOCS="AUTHORS README ChangeLog" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.0-automagic-crypt.patch" +) + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with debug DEBUG_CRYPTO) + $(cmake-utils_use_with gcrypt) + $(cmake-utils_use_with zlib LIBZ) + $(cmake-utils_use_with sftp) + $(cmake-utils_use_with ssh1) + $(cmake-utils_use_with server) + $(cmake-utils_use_with static-libs STATIC_LIB) + " + + # Workaround parallel compilation bug when compiling ssh2 server support + MAKEOPTS=-j1 + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use examples; then + insinto "${ROOT}"usr/share/doc/"${PF}"/examples + doins sample.c samplesshd.c + fi +} |
