diff options
Diffstat (limited to 'dev-java/shared-objects/shared-objects-1.4.ebuild')
-rw-r--r-- | dev-java/shared-objects/shared-objects-1.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/shared-objects/shared-objects-1.4.ebuild b/dev-java/shared-objects/shared-objects-1.4.ebuild new file mode 100644 index 000000000000..2d22bc00e338 --- /dev/null +++ b/dev-java/shared-objects/shared-objects-1.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/shared-objects/shared-objects-1.4.ebuild,v 1.1 2004/07/20 00:08:20 karltk Exp $ + +inherit java-pkg + +DESCRIPTION="A Java Class implementing a core factory for maximal sharing of arbitrary objects" +HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary" +SRC_URI="http://www.cwi.nl/projects/MetaEnv/shared-objects/shared-objects-1.4.tar.gz" +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" +S=${WORKDIR}/${P} + +src_compile() { + econf || die "Failed to configure" + emake || die "Failed to make" + ( + echo "#! /bin/sh" + echo "java-config -p shared-objects-1" + ) > shared-objects-config +} + +src_install() { + java-pkg_dojar shared-objects-1.4.jar + + exeinto /usr/bin + doexe shared-objects-config + + dodoc AUTHORS COPYING ChangeLog INSTALL +} + |