diff options
Diffstat (limited to 'net-nds/ldapvi/ldapvi-1.7-r1.ebuild')
-rw-r--r-- | net-nds/ldapvi/ldapvi-1.7-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-nds/ldapvi/ldapvi-1.7-r1.ebuild b/net-nds/ldapvi/ldapvi-1.7-r1.ebuild new file mode 100644 index 000000000000..0aebcb276659 --- /dev/null +++ b/net-nds/ldapvi/ldapvi-1.7-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +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} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}+glibc-2.10.patch" + epatch "${FILESDIR}/${P}-vim-encoding.patch" +} + +src_configure() { + econf $(use_with ssl libcrypto openssl) || die +} + +src_install() { + dobin ldapvi || die + doman ldapvi.1 || die + dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} || die +} |