blob: 30416de8538e47a02f652338466d1297e78a23c6 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.1.ebuild,v 1.1 2004/05/17 03:46:23 vapier Exp $
DESCRIPTION="access a working SSH implementation by means of a library"
HOMEPAGE="http://0xbadc0de.be/projects/sshlib.html"
SRC_URI="http://www.0xbadc0de.be/projects/libssh/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="sys-libs/zlib
dev-libs/openssl"
src_install() {
make install prefix=${D}/usr || die "einstall failed"
newbin ssh ${PN}-ssh
dosym ${PN}-ssh /usr/bin/${PN}-sftp
[ ! -e "${ROOT}/usr/bin/ssh" ] && dosym ${PN}-ssh /usr/bin/ssh
[ ! -e "${ROOT}/usr/bin/sftp" ] && dosym ${PN}-ssh /usr/bin/sftp
chmod a-x ${D}/usr/include/libssh/*
}
|