summaryrefslogtreecommitdiff
blob: c4067907801fb16d7f8640e740031e3ce36f8831 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-java/jndi/jndi-1.2.1-r1.ebuild,v 1.3 2000/11/01 06:27:08 achim Exp $

P=jndi-1.2.1
A=jndi1_2_1.zip
S=${WORKDIR}/${P}
DESCRIPTION="Java Naming and Directory Interface"
SRC_URI="ftp://"${A}
HOMEPAGE="http://java.sun.com/products/jndi/"

DEPEND=">=dev-lang/jdk-1.2.2"

#Please download the sources from sun

src_unpack() {
  mkdir ${S}
  cd ${S}
  jar -xf ${DISTDIR}/${A}
}

src_compile() {                           
  cd ${S}
}

src_install() {                               
  cd ${S}
  insinto /opt/java/lib
  doins lib/jndi.jar
  dodoc COPYRIGHT README.txt 
  docinto html
  dodoc doc/*.html
}