blob: 828c71204508932fd23cc8473d6c84bea9f13383 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ldapbrowser/ldapbrowser-282_beta2-r1.ebuild,v 1.5 2005/01/01 15:10:46 eradicator Exp $
MY_P="Browser282b2"
S=${WORKDIR}/ldapbrowser
DESCRIPTION="Easy management of LDAP directories"
SRC_URI="http://www-unix.mcs.anl.gov/~gawor/ldapcommon/bin/${MY_P}.tar.gz"
HOMEPAGE="http://www.softwareshop.anl.gov/ldapbrowser.html"
IUSE=""
SLOT="0"
LICENSE="Ldap_lic.pdf"
KEYWORDS="~x86"
RDEPEND="virtual/x11
|| ( virtual/jre virtual/jdk )"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/${PV}-r1-gentoo.diff
}
src_install() {
local dirs="lib templates"
dodir /opt/${P}
for i in $dirs ; do
cp -a $i ${D}/opt/${P}/
done
cp -a lbe.jar attributes.config ${D}/opt/${P}/
dobin lbe.sh
dosym lbe.sh /usr/bin/ldapbrowser
dodoc CHANGES.TXT LICENSE.ICONS
dohtml faq.html readme.html relnotes.html help/*
}
|