diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-09-12 21:43:45 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-09-12 21:43:45 +0000 |
commit | 97e83188c28425709d01740360c80e00f8d7d65b (patch) | |
tree | da6db94bd3a1e0936c982890604db761cdf25919 /dev-java/shared-objects | |
parent | Fix broken gob2 check (diff) | |
download | gentoo-2-97e83188c28425709d01740360c80e00f8d7d65b.tar.gz gentoo-2-97e83188c28425709d01740360c80e00f8d7d65b.tar.bz2 gentoo-2-97e83188c28425709d01740360c80e00f8d7d65b.zip |
Migrated to new Java build system.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-java/shared-objects')
-rw-r--r-- | dev-java/shared-objects/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/shared-objects/files/build.xml | 20 | ||||
-rw-r--r-- | dev-java/shared-objects/files/digest-shared-objects-1.4 | 2 | ||||
-rw-r--r-- | dev-java/shared-objects/files/digest-shared-objects-1.4-r1 | 3 | ||||
-rw-r--r-- | dev-java/shared-objects/shared-objects-1.4-r1.ebuild | 44 |
5 files changed, 77 insertions, 2 deletions
diff --git a/dev-java/shared-objects/ChangeLog b/dev-java/shared-objects/ChangeLog index d2f424009884..c94936cc9cb6 100644 --- a/dev-java/shared-objects/ChangeLog +++ b/dev-java/shared-objects/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/shared-objects -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/shared-objects/ChangeLog,v 1.6 2005/04/22 08:14:43 blubb Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/shared-objects/ChangeLog,v 1.7 2006/09/12 21:43:45 nelchael Exp $ + +*shared-objects-1.4-r1 (12 Sep 2006) + + 12 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml, + +shared-objects-1.4-r1.ebuild: + Migrated to new Java build system. 22 Apr 2005; Simon Stelling <blubb@gentoo.org> shared-objects-1.4.ebuild: stable on amd64 diff --git a/dev-java/shared-objects/files/build.xml b/dev-java/shared-objects/files/build.xml new file mode 100644 index 000000000000..77d8d8db8c1e --- /dev/null +++ b/dev-java/shared-objects/files/build.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" standalone="yes"?> +<project basedir="." default="jar"> + <target name="compile"> + <mkdir dir="bin"/> + <mkdir dir="lib"/> + <javac srcdir="shared" destdir="bin"> + <include name="**/*.java"/> + <classpath> + <fileset dir="lib"> + <include name="**/*.jar"/> + </fileset> + </classpath> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="shared-objects.jar"> + <zipfileset dir="bin"/> + </jar> + </target> +</project> diff --git a/dev-java/shared-objects/files/digest-shared-objects-1.4 b/dev-java/shared-objects/files/digest-shared-objects-1.4 index c7a191384d78..68cce632dc1f 100644 --- a/dev-java/shared-objects/files/digest-shared-objects-1.4 +++ b/dev-java/shared-objects/files/digest-shared-objects-1.4 @@ -1 +1,3 @@ MD5 c1f2c58bd1a07be32da8a6b89354a11f shared-objects-1.4.tar.gz 45304 +RMD160 84b7a6e3b7de8cf2f7939e80c4300f681c92fd1e shared-objects-1.4.tar.gz 45304 +SHA256 dc4cbfb58b9ffd097a2fe663a333b32c76c87814eb6b3e8277b76ba6c8d1c4f1 shared-objects-1.4.tar.gz 45304 diff --git a/dev-java/shared-objects/files/digest-shared-objects-1.4-r1 b/dev-java/shared-objects/files/digest-shared-objects-1.4-r1 new file mode 100644 index 000000000000..68cce632dc1f --- /dev/null +++ b/dev-java/shared-objects/files/digest-shared-objects-1.4-r1 @@ -0,0 +1,3 @@ +MD5 c1f2c58bd1a07be32da8a6b89354a11f shared-objects-1.4.tar.gz 45304 +RMD160 84b7a6e3b7de8cf2f7939e80c4300f681c92fd1e shared-objects-1.4.tar.gz 45304 +SHA256 dc4cbfb58b9ffd097a2fe663a333b32c76c87814eb6b3e8277b76ba6c8d1c4f1 shared-objects-1.4.tar.gz 45304 diff --git a/dev-java/shared-objects/shared-objects-1.4-r1.ebuild b/dev-java/shared-objects/shared-objects-1.4-r1.ebuild new file mode 100644 index 000000000000..7fe60cb1e0ac --- /dev/null +++ b/dev-java/shared-objects/shared-objects-1.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/09/12 21:43:45 nelchael Exp $ + +inherit java-pkg-2 + +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="~amd64 ~ppc ~x86" +IUSE="source" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + + unpack ${A} + cp "${FILESDIR}/build.xml" "${S}/" + +} + +src_compile() { + + eant jar + + ( + echo "#! /bin/sh" + echo "java-config -p shared-objects-1" + ) > shared-objects-config + +} + +src_install() { + + java-pkg_dojar shared-objects.jar + + dobin shared-objects-config + dodoc AUTHORS ChangeLog + use source && java-pkg_dosrc "${S}/shared" + +} |