summaryrefslogtreecommitdiff
blob: 2795e5e3626ad547032393fdd772a49c219d0410 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-java/jndi/jndi-1.2.1-r2.ebuild,v 1.9 2002/07/11 06:30:19 drobbins Exp $

At=jndi-1_2_1.zip
S=${WORKDIR}/${P}
DESCRIPTION="Java Naming and Directory Interface"
HOMEPAGE="http://java.sun.com/products/jndi/"
SRC_URI="" 

DEPEND=">=virtual/jdk-1.2"

src_unpack() {
	echo ${At}
	if [ ! -f ${DISTDIR}/${At} ] ; then
		die "You must download ${At} from ${HOMEPAGE} yourself"
	fi
	mkdir ${S}
	cd ${S}
	jar -xf ${DISTDIR}/${At}
}

src_compile() {                           
	cd ${S}
}

src_install() {           
	dojar lib/jndi.jar
	dodoc COPYRIGHT README.txt 
	dohtml -r doc/*
}