diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/smack | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/smack')
-rw-r--r-- | dev-java/smack/Manifest | 3 | ||||
-rw-r--r-- | dev-java/smack/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/smack/smack-2.2.1.ebuild | 60 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-java/smack/Manifest b/dev-java/smack/Manifest new file mode 100644 index 000000000000..f29ad6b02b8d --- /dev/null +++ b/dev-java/smack/Manifest @@ -0,0 +1,3 @@ +DIST smack-dev-2.2.1.tar.gz 4052596 BLAKE2B c8be42b444533557a6d2dbc363fb58349ec677898e03d8ffcace063bf98997c7bbff6a4b04dc88eb012660b8f03da80fd710b501724260ab8147ebd6014682b6 SHA512 a6f6f70a61dec69ec2f3c82544f83100bf4ef39aa657ed7a8ce635be8484d3ed2cb539961286482ccc9f607520e0646e14668a17b4004ae6bd157b3d894146f0 +EBUILD smack-2.2.1.ebuild 1083 BLAKE2B 630883ab51bc80e33fd723146207c935ea120fa7a142dc29b88c91a20cf519a6ef3eb014cb3d5540ac6f2059aaab33fd7086fa360f90fab241bb1dd670698d67 SHA512 cb0fb55f756a5ad7be9f37dab442cd05427272b29250067b6579aab6cc953495111207af975b8338101d8d914f9604ac9c7eeb6d4450def528b2321cdffc91ac +MISC metadata.xml 242 BLAKE2B 6bf5b48906c64a18d9f27e7ecec168ed039f8d390792d62aedb8c86627a13ff09d583a736982057d245fe5db27c4016257125d69792d6bbe424e7d2a35067675 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f diff --git a/dev-java/smack/metadata.xml b/dev-java/smack/metadata.xml new file mode 100644 index 000000000000..37998bf40746 --- /dev/null +++ b/dev-java/smack/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> diff --git a/dev-java/smack/smack-2.2.1.ebuild b/dev-java/smack/smack-2.2.1.ebuild new file mode 100644 index 000000000000..50eef5789a61 --- /dev/null +++ b/dev-java/smack/smack-2.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_PN="${PN}-dev" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="An Open Source XMPP (Jabber) client library for instant messaging and presence" +HOMEPAGE="http://www.jivesoftware.org/smack/" +SRC_URI="http://www.jivesoftware.org/builds/${PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.2" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEP="dev-java/xpp3" + +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + + unpack ${A} + + cd "${S}" + rm -f *.jar build/lib/*.jar build/merge/*.jar build/*.jar + + cd "${S}/build/lib/" + java-pkg_jar-from xpp3 + + sed -i -e '/zipfileset/d' "${S}/build/build.xml" || die + +} + +EANT_BUILD_XML="build/build.xml" +EANT_EXTRA_ARGS="-Djavadoc.dest.dir=api" + +src_install() { + + java-pkg_dojar *.jar + + dohtml *.html + + use doc && { + java-pkg_dohtml -r documentation/* + java-pkg_dojavadoc api + } + use source && java-pkg_dosrc source/* + +} |