summaryrefslogtreecommitdiff
blob: 533b88ce12508067ac01692a7de2ec33297b8fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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.1.1.ebuild,v 1.4 2009/11/12 19:14:56 pva Exp $

# Do not remove this ebuild until sysload depends on it.
inherit versionator

MY_P=${PN}-$(replace_version_separator 2 '')
DESCRIPTION="access a working SSH implementation by means of a library"
HOMEPAGE="http://0xbadc0de.be/?part=libssh"
SRC_URI="http://www.0xbadc0de.be/libssh/${MY_P}.tgz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86"
IUSE=""

DEPEND="sys-libs/zlib
	dev-libs/openssl"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_install() {
	emake prefix="${D}/usr" install || die "make install failed"
	chmod a-x "${D}"/usr/include/libssh/*
}