diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-05-08 20:18:13 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-05-08 20:18:13 +0000 |
commit | 50a5647cbd3994d17fd582808f0885456e003896 (patch) | |
tree | f84cfac7f373f57a413a2853d9fa4d5b2ffd3158 /net-libs/libssh2 | |
parent | Version bump. (diff) | |
download | gentoo-2-50a5647cbd3994d17fd582808f0885456e003896.tar.gz gentoo-2-50a5647cbd3994d17fd582808f0885456e003896.tar.bz2 gentoo-2-50a5647cbd3994d17fd582808f0885456e003896.zip |
Version bump. Add USE=static-libs.
(Portage version: 2.2.0_alpha31/cvs/Linux i686)
Diffstat (limited to 'net-libs/libssh2')
-rw-r--r-- | net-libs/libssh2/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/libssh2/libssh2-1.2.8.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/net-libs/libssh2/ChangeLog b/net-libs/libssh2/ChangeLog index f9db480e3ce9..ceac6da5c753 100644 --- a/net-libs/libssh2/ChangeLog +++ b/net-libs/libssh2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libssh2 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.35 2010/10/04 11:59:57 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.36 2011/05/08 20:18:13 jer Exp $ + +*libssh2-1.2.8 (08 May 2011) + + 08 May 2011; Jeroen Roovers <jer@gentoo.org> +libssh2-1.2.8.ebuild: + Version bump. Add USE=static-libs. *libssh2-1.2.7 (04 Oct 2010) diff --git a/net-libs/libssh2/libssh2-1.2.8.ebuild b/net-libs/libssh2/libssh2-1.2.8.ebuild new file mode 100644 index 000000000000..c5deaa643254 --- /dev/null +++ b/net-libs/libssh2/libssh2-1.2.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/libssh2-1.2.8.ebuild,v 1.1 2011/05/08 20:18:13 jer Exp $ + +EAPI="2" + +inherit autotools-utils + +DESCRIPTION="Library implementing the SSH2 protocol" +HOMEPAGE="http://www.libssh2.org/" +SRC_URI="http://www.${PN}.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-solaris" +IUSE="gcrypt static-libs zlib" + +DEPEND="!gcrypt? ( dev-libs/openssl ) + gcrypt? ( dev-libs/libgcrypt ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +src_configure() { + local myconf + + if use gcrypt; then + myconf="--with-libgcrypt" + else + myconf="--with-openssl" + fi + + econf \ + $(use_with zlib libz) \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_test() { + if [[ ${EUID} -ne 0 ]]; then #286741 + ewarn "Some tests require real user that is allowed to login." + ewarn "ssh2.sh test disabled." + sed -e 's:ssh2.sh::' -i tests/Makefile + fi + emake check || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README + use static-libs || remove_libtool_files +} |