blob: 7b9c85f3b77991f7a01f4e11714e0a92561c7f90 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/ldapvi/ldapvi-1.7.ebuild,v 1.7 2009/05/22 15:46:53 flameeyes Exp $
inherit eutils
DESCRIPTION="Manage LDAP entries with a text editor"
HOMEPAGE="http://www.lichteblau.com/ldapvi/"
SRC_URI="http://www.lichteblau.com/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ppc ~sparc x86"
IUSE="ssl"
RDEPEND="sys-libs/ncurses
>=net-nds/openldap-2.2
dev-libs/popt
>=dev-libs/glib-2
sys-libs/readline
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}+glibc-2.10.patch"
}
src_compile() {
econf $(use_with ssl libcrypto openssl) || die "econf failed"
emake || die "emake failed"
}
src_install() {
dobin ldapvi || die
doman ldapvi.1 || die
}