summaryrefslogtreecommitdiff
blob: 92d42cd3aeef9e5c8e24280eaada909b745ff7c2 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/aterm-java/aterm-java-1.6.ebuild,v 1.8 2005/01/01 18:08:48 eradicator Exp $

inherit java-pkg

DESCRIPTION="Java library for ATerm exchange"
HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary"
SRC_URI="http://www.cwi.nl/projects/MetaEnv/aterm-java/aterm-java-1.6.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
DEPEND=">=virtual/jdk-1.4
	dev-java/jjtraveler"
RDEPEND=">=virtual/jre-1.4
	>=dev-java/shared-objects-1.4"

src_compile() {
	econf || die "Failed to configure"
	emake || die "Failed to compile"
	(
		echo "#! /bin/sh"
		echo "java-config -p aterm-java-1"
	) > aterm-java-config
	tar zxvf aterm-javadoc.tar.gz && mv aterm-javadoc api
}

src_install() {
	java-pkg_dojar aterm-1.6.jar

	exeinto /usr/bin
	doexe aterm-java-config

	java-pkg_dohtml -r api
	dodoc AUTHORS COPYING INSTALL ChangeLog
}