From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/nailgun/Manifest | 6 +++ dev-java/nailgun/files/0.7.1-r1-Makefile.patch | 18 +++++++ dev-java/nailgun/metadata.xml | 14 ++++++ dev-java/nailgun/nailgun-0.7.1-r1.ebuild | 66 ++++++++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 dev-java/nailgun/Manifest create mode 100644 dev-java/nailgun/files/0.7.1-r1-Makefile.patch create mode 100644 dev-java/nailgun/metadata.xml create mode 100644 dev-java/nailgun/nailgun-0.7.1-r1.ebuild (limited to 'dev-java/nailgun') diff --git a/dev-java/nailgun/Manifest b/dev-java/nailgun/Manifest new file mode 100644 index 000000000000..914c1c451a4c --- /dev/null +++ b/dev-java/nailgun/Manifest @@ -0,0 +1,6 @@ +AUX 0.7.1-r1-Makefile.patch 584 SHA256 5c32be621e0e70568a87b18fec8d0d289b27dcd4386cda7e9e9ba98e9323cda4 SHA512 818cb35a65902cf325d06c85c4a1d896784e90cb6a770e70b3df55b8e9661c6b4d83ad46c6e8cfc99c4e6d572f1e496ccaccd514b24fc6029211b1fa2cc89de9 WHIRLPOOL 9582c72851c753b5e6a9ccdcc95f383dd1585be1a09bbd80c857573d241b7f3601ac837925f5443c57855bcfff84f56746da50902777ca2261d819aeba824863 +DIST nailgun-src-0.7.1.zip 1489813 SHA256 2942760e68fabab1afc3bc447545cb532ae7bd6e779ca4af8b3163d629076e72 SHA512 51867248179487b042f3fe93585390b972d1d95928f92fc6b342c3ae663696b251fcd074c8042c6ae129947105e2203cb256a987b46dd8499bb3964302f1ccae WHIRLPOOL 7c24f82a260eaef397fc694f5e15abfe86c2463d644366bf4d59904cf632e301ec5c9f26d0a63aff4491c196bbf3b8dfa612862e59d488eaf3af6076abacd1d8 +EBUILD nailgun-0.7.1-r1.ebuild 1613 SHA256 75d5563c346dd3addda1a6c72c8b17f7fec41393be71680683045520fad73d8e SHA512 db6298b59d6393f2cdecff18112ccf0199d01e20349e4c955a114921039991449e05e1c3ec7308f4380dd85dfeaa899e54181fbcb23f5ee4991fd48567785cfa WHIRLPOOL 9f95d02d90aea6411548f003cb41892181dea991a3ddc7ab20ed49c9c18c1e708300f1f6b0cf86827dbd9074bad1ba6376dab5aa7768e2e676a2056880bdace4 +MISC ChangeLog 2606 SHA256 c47aa4ec0c67e4567e4c618abf1c246840fe7569da8706911f96233cde9a8e68 SHA512 9905520e582f6c89b938f906af418d51d1970e153487b44f77f1a7dd0cb66555ad82997d7e10f8cec4112bd05d1b5b1800f4202097185b2ab56c4e921b2147f0 WHIRLPOOL fb5e46d71e7d3de848f722da977e99c60b18efbf457329e30fab137c057a8622fb0c653ac0baefae265780dd693e2151cc44db009fb2d25cdef20629f7772775 +MISC ChangeLog-2015 1887 SHA256 0e5276e69c93efc665255c69d8c79c5b543957178a6b15b79f6b83cb30d29514 SHA512 1abdf54212744e4b4466164efbd1ab8fdcdcc02ea205bc0a26f49016f9f9ad0e8256a2114c0d78f92190625ae230a1db6baff49f61530ac41499fa9154e38047 WHIRLPOOL 2272a7cf125c8768071b98cacbe1598caacb38874c902f7db694b862e8a0bde1757c021c4c5683da00afbd080db91d5af73e58d9692d7ae8c3ee3ce07ed14ce6 +MISC metadata.xml 628 SHA256 eac461f4dfd778d8a59eed7831ecb29fb5220c88817f319ddbd3423a40f5193b SHA512 0781b073c443cbf166cd2e080dbacd51cff3bb743311acf486b8dc17f0f15a5a65f453b256dd84a32876891fb08578f930d9d2d3448671f670ef4eed3022b85b WHIRLPOOL 869958f33bbaf9785b9b3eacad8cd14c3f4fc669b93485973e1aa2110047ca10673ad67bbaaf425948bc35808a697f1ce3aba3a4777460ab0aff60c1e60d93c2 diff --git a/dev-java/nailgun/files/0.7.1-r1-Makefile.patch b/dev-java/nailgun/files/0.7.1-r1-Makefile.patch new file mode 100644 index 000000000000..a38185485578 --- /dev/null +++ b/dev-java/nailgun/files/0.7.1-r1-Makefile.patch @@ -0,0 +1,18 @@ +diff -Naur nailgun-0.7.1/Makefile nailgun-0.7.1_patches/Makefile +--- nailgun-0.7.1/Makefile 2004-11-25 11:00:22.000000000 +1300 ++++ nailgun-0.7.1_patches/Makefile 2012-04-19 07:22:16.000000000 +1200 +@@ -5,13 +5,11 @@ + # + # Marty Lamb + +-CC=gcc + WIN32_CC=/usr/local/mingw32/bin/mingw32-gcc +-CFLAGS=-Wall -pedantic -s -O3 + + ng: src/c/ng.c + @echo "Building ng client. To build a Windows binary, type 'make ng.exe'" +- ${CC} ${CFLAGS} -o ng src/c/ng.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o ng src/c/ng.c + + ng.exe: src/c/ng.c + # any idea why the command line is so sensitive to the order of diff --git a/dev-java/nailgun/metadata.xml b/dev-java/nailgun/metadata.xml new file mode 100644 index 000000000000..17b114b5b115 --- /dev/null +++ b/dev-java/nailgun/metadata.xml @@ -0,0 +1,14 @@ + + + + + java@gentoo.org + Java + + + 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. + + + nailgun + + diff --git a/dev-java/nailgun/nailgun-0.7.1-r1.ebuild b/dev-java/nailgun/nailgun-0.7.1-r1.ebuild new file mode 100644 index 000000000000..53243b83e508 --- /dev/null +++ b/dev-java/nailgun/nailgun-0.7.1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A client, protocol and server for running without incurring 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 x86" +IUSE="test" + +RDEPEND=">=virtual/jre-1.4 + !app-editors/ng" +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 + dev-java/junit:0 + test? ( + dev-java/ant-junit:0 + )" + +#need jcoverage +RESTRICT="test" + +java_prepare() { + rm -vf ng* beansh + find . -iname '*.jar' -delete + + epatch "${FILESDIR}/${PV}-r1-Makefile.patch" + + sed -i '/