diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jstun |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jstun')
-rw-r--r-- | dev-java/jstun/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jstun/jstun-0.7.3.ebuild | 62 | ||||
-rw-r--r-- | dev-java/jstun/metadata.xml | 8 |
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-java/jstun/Manifest b/dev-java/jstun/Manifest new file mode 100644 index 000000000000..0a0fb9048f3b --- /dev/null +++ b/dev-java/jstun/Manifest @@ -0,0 +1,5 @@ +DIST jstun-0.7.3.src.tar.gz 173666 SHA256 dba79de7a92ab7f9c9e67e995999db99df75149369eff3571779702351f7509b SHA512 03dd54331c79992ef2c387eb78fde8c98b58e3818515bf57beafb6157914fe9295d3ff043ac8aab78490ac2582969c07e1891ddbefaa702c3816ddac061ceb18 WHIRLPOOL b7d7553b17e656b537b701615d9774b0b814711ee41d100128bcbec30d939962fd8d397fae6cbd0e923f0e45541685f44473aaa8a2edc0751d7a51144fa45202 +EBUILD jstun-0.7.3.ebuild 1319 SHA256 32d428b8f853b6b48ceba38e894ef6d0a41c636667d7277b52d657df7d602e34 SHA512 e9c159248af1049f249c38f19135d62a155788151212ac5e2b3c625f5e10a7d6d23072aa9a881732279580f3e37ce5bc069b9891ab7e9d24b5a2f107c6c2383c WHIRLPOOL d92c1181e3d85c5453ebcb00c7dab5c3c8998a3441d03bd4d6f9f82469da2a22ef7afea43bbf04f06ea22d882c5136f43322632d90204360fb4a1eccd88cf5e2 +MISC ChangeLog 2554 SHA256 75d980fd9cf3893b2db584bc9e947ea00b5b9c4062a314bf11241e9da5c42246 SHA512 d741bf0c9f16b94d8ad2bee6560f1b2f284569ba88d1006825a0771302988ddaf42aa37195b6a171da7d2f2fab37ff4662378c4d14e70b9803185a4523ca1705 WHIRLPOOL 3be1bee5fcad9988aa504c041d41a6e2b1674db742e50a9c4b79b00698fe62b10067bfc0e4d5765fa1b61636894ad1c2ade3f408540906f3fdd9ef640c15af32 +MISC ChangeLog-2015 528 SHA256 34065ca37e99985f1fea6d2d844bacb9b1d0e75366db62d03cb7032707503c37 SHA512 23d4ded1cad75fe3de52ffb847e05b26593ea959f7d90a3548293abe5f0d969ae162d9db21ac97399c1a25649fd8ed9ff74e0a34c6aae44ef8e1a4df24b38265 WHIRLPOOL a72746647dd63b306ce8ec9ec78e5b3f5b98f8b1536dd5708b959aab19f878287f7c1400939ac1f2813c4eadfa0706973cd2a9691abddf6aeb75b4633479598c +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/jstun/jstun-0.7.3.ebuild b/dev-java/jstun/jstun-0.7.3.ebuild new file mode 100644 index 000000000000..a740c831f918 --- /dev/null +++ b/dev-java/jstun/jstun-0.7.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java-based STUN implementation" +HOMEPAGE="http://jstun.javawi.de/" +SRC_URI="http://${PN}.javawi.de/${P}.src.tar.gz" + +LICENSE="Apache-2.0 GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/slf4j-api:0" + +RDEPEND=" + >=virtual/jre-1.5 + ${CDEPEND}" + +DEPEND=" + >=virtual/jdk-1.5 + test? ( dev-java/junit:0 ) + ${CDEPEND}" + +S="${WORKDIR}/STUN" + +# Tests contain no main function; demos contain main function, but contact +# external domains as well as aren't really tests. TODO: A main function needs +# to be written in order to be able to test de.javawi.jstun.AllTests. +RESTRICT="test" + +EANT_BUILD_XML="build/build.xml" + +java_prepare() { + rm -v *.jar build/*.jar || die + + java-pkg_jar-from slf4j-api +} + +EANT_TEST_GENTOO_CLASSPATH="junit" +EANT_TEST_TARGET="jar-test" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_test() { + local cp="$(java-pkg_getjars --build-only junit)" + + java-pkg-2_src_test + + java -cp target/${PN}-test-${PV}.jar:${cp} de.javawi.jstun.AllTests \ + || die "Tests failed." +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc target/javadoc + use source && java-pkg_dosrc src +} diff --git a/dev-java/jstun/metadata.xml b/dev-java/jstun/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/jstun/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> |