# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/x11-ssh-askpass/x11-ssh-askpass-1.2.2-r1.ebuild,v 1.18 2004/07/01 22:12:37 squinky86 Exp $ inherit eutils IUSE="" DESCRIPTION="X11-based passphrase dialog for use with OpenSSH" HOMEPAGE="http://www.liquidmeme.net/software/x11-ssh-askpass/" SRC_URI="http://www.liquidmeme.net/software/${PN}/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86 sparc ~alpha ppc" DEPEND="virtual/libc virtual/x11" RDEPEND="virtual/ssh virtual/x11" #>=net-misc/openssh-2.3.0 src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/stupid-imake.diff } src_compile() { ./configure --prefix=/usr --libexecdir=/usr/lib/misc || die xmkmf || die make includes || die make "CDEBUGFLAGS=${CFLAGS}" || die } src_install() { newman x11-ssh-askpass.man x11-ssh-askpass.1 dobin x11-ssh-askpass dodir /usr/lib/misc dosym /usr/bin/x11-ssh-askpass /usr/lib/misc/ssh-askpass dodoc ChangeLog README TODO }