summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-08-07 12:31:36 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-08-07 12:31:36 +0000
commit9f09f9e42273ddc039faa92be029ca00e54afd95 (patch)
tree38153b643ba8d1dcfe1b4a3c7c5eb43dbbcacfda /dev-java/nailgun
parentFix building with GLIBC 2.10+ wrt #271640. (diff)
downloadhistorical-9f09f9e42273ddc039faa92be029ca00e54afd95.tar.gz
historical-9f09f9e42273ddc039faa92be029ca00e54afd95.tar.bz2
historical-9f09f9e42273ddc039faa92be029ca00e54afd95.zip
Add nailgun.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-java/nailgun')
-rw-r--r--dev-java/nailgun/ChangeLog10
-rw-r--r--dev-java/nailgun/Manifest5
-rw-r--r--dev-java/nailgun/files/0.7.1-Makefile.patch13
-rw-r--r--dev-java/nailgun/metadata.xml13
-rw-r--r--dev-java/nailgun/nailgun-0.7.1.ebuild68
5 files changed, 109 insertions, 0 deletions
diff --git a/dev-java/nailgun/ChangeLog b/dev-java/nailgun/ChangeLog
new file mode 100644
index 000000000000..ee157ddf9c6e
--- /dev/null
+++ b/dev-java/nailgun/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/nailgun
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/nailgun/ChangeLog,v 1.1 2009/08/07 12:31:36 ali_bush Exp $
+
+*nailgun-0.7.1 (07 Aug 2009)
+
+ 07 Aug 2009; Alistair Bush <ali_bush@gentoo.org>
+ +files/0.7.1-Makefile.patch, +nailgun-0.7.1.ebuild, +metadata.xml:
+ Add nailgun.
+
diff --git a/dev-java/nailgun/Manifest b/dev-java/nailgun/Manifest
new file mode 100644
index 000000000000..3a69a9abd505
--- /dev/null
+++ b/dev-java/nailgun/Manifest
@@ -0,0 +1,5 @@
+AUX 0.7.1-Makefile.patch 332 RMD160 3b7c9771cb5603ed5908abaf3ab98dd8cb5b16ad SHA1 99b89c4456a43c3a3eff25558ed1894fa82dccb6 SHA256 c52dfea4b4ed38d0e11879c395ef6ed32741f9def6e33448739bc809b194c985
+DIST nailgun-src-0.7.1.zip 1489813 RMD160 3fe7d7058b22c14e59c86de1a69146ae0159251e SHA1 70f2ae1faafe9cf060f2a44968960703475705e4 SHA256 2942760e68fabab1afc3bc447545cb532ae7bd6e779ca4af8b3163d629076e72
+EBUILD nailgun-0.7.1.ebuild 1718 RMD160 83a7867947941b91b4023b593c2ddafa071eb8d0 SHA1 8de9a6753891e09a52201a07af1d930e87b21fa5 SHA256 c5fdf6ad00ef5bc4259987304f89f02b8dbe5d6c85517b74d77e9689762b48c4
+MISC ChangeLog 373 RMD160 59becb25709e7bc6d28f32245e81f7057c396e3c SHA1 1678c61b99bc58cb9e5990c15994d0fca398f4b3 SHA256 a948e4ea99a3b6da1c28729b129bfbafdba9596e6c2842e236100543af977946
+MISC metadata.xml 569 RMD160 241467a6930e9364c1229d6ec27d8a9f7d5e1330 SHA1 d62ff0c86a5bcd18e330112ff1442a5771155edd SHA256 96474508807583b54fdc35408e14437f269a32c4574cf5de5be51fd6183ce75c
diff --git a/dev-java/nailgun/files/0.7.1-Makefile.patch b/dev-java/nailgun/files/0.7.1-Makefile.patch
new file mode 100644
index 000000000000..fe489d46ede9
--- /dev/null
+++ b/dev-java/nailgun/files/0.7.1-Makefile.patch
@@ -0,0 +1,13 @@
+--- Makefile.orig 2009-08-07 23:44:55.000000000 +1200
++++ Makefile 2009-08-07 23:45:43.000000000 +1200
+@@ -5,9 +5,8 @@
+ #
+ # Marty Lamb
+
+-CC=gcc
+ WIN32_CC=/usr/local/mingw32/bin/mingw32-gcc
+-CFLAGS=-Wall -pedantic -s -O3
++CFLAGS+=-Wall
+
+ ng: src/c/ng.c
+ @echo "Building ng client. To build a Windows binary, type 'make ng.exe'"
diff --git a/dev-java/nailgun/metadata.xml b/dev-java/nailgun/metadata.xml
new file mode 100644
index 000000000000..11673839bcee
--- /dev/null
+++ b/dev-java/nailgun/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>ali_bush@gentoo.org</email>
+ <name>Alistair Bush</name>
+ </maintainer>
+ <longdescription lang="en">
+ Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-java/nailgun/nailgun-0.7.1.ebuild b/dev-java/nailgun/nailgun-0.7.1.ebuild
new file mode 100644
index 000000000000..b6304367c8c4
--- /dev/null
+++ b/dev-java/nailgun/nailgun-0.7.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/nailgun/nailgun-0.7.1.ebuild,v 1.1 2009/08/07 12:31:36 ali_bush Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="a client, protocol, and server for running Java apps without incurring the JVM startup overhead"
+HOMEPAGE="http://martiansoftware.com/nailgun/index.html"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/java-getopt:1
+ dev-java/bcel:0
+ dev-java/jakarta-oro:2.0
+ dev-java/log4j:0
+ app-arch/unzip
+ test? (
+ dev-java/junit:0
+ dev-java/ant-junit:0
+ )"
+
+#need jcoverage
+RESTRICT="test"
+
+java_prepare() {
+ rm -vf ng* beansh
+ find . -iname '*.jar' -delete
+
+ epatch "${FILESDIR}/${PV}-Makefile.patch"
+
+ sed -i '/<arg line="ng.exe/d' build.xml || die
+ sed -i 's/depends="test"/depends="compile"/' build.xml || die
+
+ java-pkg_jar-from --into tools/lib --build-only java-getopt-1 \
+ gnu.getopt.jar java-getopt-1.0.10.jar
+ java-pkg_jar-from --into tools/lib --build-only junit junit.jar
+ java-pkg_jar-from --into tools/lib --build-only bcel bcel.jar \
+ bcel-5.1.jar
+ java-pkg_jar-from --into tools/lib --build-only jakarta-oro-2.0 \
+ jakarta-oro.jar jakarta-oro-2.0.8.jar
+ java-pkg_jar-from --into tools/lib --build-only log4j log4j.jar \
+ log4j-1.2.8.jar
+}
+
+src_test() {
+ WANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+ dobin ng
+ # Should we have a dolauncher?
+
+ java-pkg_newjar "dist/${P}.jar"
+ use doc && java-pkg_dojavadoc docs/api
+ use source && java-pkg_dosrc src/java/prod/*
+}
+