diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/json-java/Manifest | 2 | ||||
-rw-r--r-- | dev-java/json-java/json-java-9999.ebuild | 25 | ||||
-rw-r--r-- | dev-java/json-java/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/parallel-ant/parallel-ant-0.9.ebuild | 46 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/json-java/Manifest b/dev-java/json-java/Manifest new file mode 100644 index 0000000..a62105e --- /dev/null +++ b/dev-java/json-java/Manifest @@ -0,0 +1,2 @@ +EBUILD json-java-9999.ebuild 456 RMD160 2a9192091285f49edc4713e9e811be3a33dec534 SHA1 7ff9020b2de24028e2a101ae33a6a8d01f85abee SHA256 7aa617724039f59534210e36003c528d0bd967af35b1d6e662d3ab8049e86029 +MISC metadata.xml 337 RMD160 882d549274c590e68ceeb3747a953b5352c6083e SHA1 3c2b9d7de633d40c07f9cb012b3935168d26e561 SHA256 23b8b7beb25e7142375b41b52e2b1445e185cf01cdf9e067d69ac0d4754ffef7 diff --git a/dev-java/json-java/json-java-9999.ebuild b/dev-java/json-java/json-java-9999.ebuild new file mode 100644 index 0000000..e0b177e --- /dev/null +++ b/dev-java/json-java/json-java-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +EGIT_REPO_URI="git://github.com/douglascrockford/JSON-java.git" + +inherit git-2 + +DESCRIPTION="A reference implementation of a JSON package in Java." +HOMEPAGE="https://github.com/douglascrockford/JSON-java" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="" +DEPEND="test? ( + dev-lang/junit + )" + +# incomplete ... diff --git a/dev-java/json-java/metadata.xml b/dev-java/json-java/metadata.xml new file mode 100644 index 0000000..49c74e9 --- /dev/null +++ b/dev-java/json-java/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>danielnagy@gmx.de</email> + <name>Daniel Nagy</name> +</maintainer> +<longdescription>A reference implementation of a JSON package in Java.</longdescription> +</pkgmetadata> + diff --git a/dev-java/parallel-ant/parallel-ant-0.9.ebuild b/dev-java/parallel-ant/parallel-ant-0.9.ebuild new file mode 100644 index 0000000..9577e77 --- /dev/null +++ b/dev-java/parallel-ant/parallel-ant-0.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit java-pkg-2 java-ant-2 + +EAPI=2 + +DESCRIPTION="pant" +HOMEPAGE="http://blog.codeaholics.org/parallel-ant/" +SRC_URI="https://github.com/codeaholics/parallel-ant/tarball/0.9-beta -> ${P}.tar.gz" + +LICENSE="Apache" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +COMMON_DEP="dev-java/ant" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" + +#java_prepare() { +# JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath +#} + +EANT_GENTOO_CLASSPATH="ant-core" + +src_configure() { + mv codeaholics-${PN}-0a67d42 ${P} + cd ${P} +} + +src_compile() { + JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath + eant || die +} + +src_install() { + java-pkg_dojar build/${P}-beta.jar + insinto /usr/share/${PN} +# doins "${FILESDIR}/${PN}-${SLOT}" +} |