net-misc/keychain/keychain-2.7.0.ebuild
changeset 0 58d5cc68f922
equal deleted inserted replaced
-1:000000000000 0:58d5cc68f922
       
     1 # Copyright 1999-2010 Gentoo Foundation
       
     2 # Distributed under the terms of the GNU General Public License v2
       
     3 # $Header: /var/cvsroot/gentoo-x86/net-misc/keychain/keychain-2.7.0.ebuild,v 1.10 2010/01/16 19:36:22 armin76 Exp $
       
     4 
       
     5 EAPI=2
       
     6 
       
     7 DESCRIPTION="manage ssh and GPG keys in a convenient and secure manner. Frontend for ssh-agent/ssh-add"
       
     8 HOMEPAGE="http://www.funtoo.org/en/security/keychain/intro/"
       
     9 SRC_URI="http://www.funtoo.org/archive/keychain/${P}.tar.bz2"
       
    10 
       
    11 LICENSE="GPL-2"
       
    12 SLOT="0"
       
    13 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
       
    14 IUSE=""
       
    15 
       
    16 DEPEND=""
       
    17 RDEPEND="app-shells/bash
       
    18 	|| ( net-misc/openssh net-misc/ssh )"
       
    19 
       
    20 inherit eutils
       
    21 
       
    22 src_unpack() {
       
    23 	unpack ${A}
       
    24 	cd "${S}"
       
    25 
       
    26 	epatch "${FILESDIR}/${P}-fix-pinentry.patch"
       
    27 }
       
    28 
       
    29 
       
    30 src_install() {
       
    31 	dobin keychain || die "dobin failed"
       
    32 	doman keychain.1.gz || die "doman failed"
       
    33 	dodoc ChangeLog README.rst || die
       
    34 }
       
    35 
       
    36 src_test() {
       
    37 	# Work in progress, not all pass so we don't die yet.
       
    38 	./runtests
       
    39 }