summaryrefslogtreecommitdiff
path: root/dev-java/smack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/smack')
-rw-r--r--dev-java/smack/Manifest5
-rw-r--r--dev-java/smack/metadata.xml8
-rw-r--r--dev-java/smack/smack-2.2.1.ebuild58
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..77e8e5d4bff4
--- /dev/null
+++ b/dev-java/smack/Manifest
@@ -0,0 +1,5 @@
+DIST smack-dev-2.2.1.tar.gz 4052596 SHA256 8706d0c2fb72a94f3a8c33e720f49fb3ec5179ddd7df87d484f86a775b176814 SHA512 a6f6f70a61dec69ec2f3c82544f83100bf4ef39aa657ed7a8ce635be8484d3ed2cb539961286482ccc9f607520e0646e14668a17b4004ae6bd157b3d894146f0 WHIRLPOOL e75b979afe34f060b84d687f501e9f028fd97d3693647d346ae81bc9dd468819249931fa34d1145b781d875e65e9a83c6d60f6c477e961f9df9c6a4a8d1949d6
+EBUILD smack-2.2.1.ebuild 1075 SHA256 d6c8f62fa21167df4dc30dbd8e2bac1ad9ea94a7547d4c90bf5c3a82627b8548 SHA512 37aa4c56a4c3aa0e9e01fdd078afdb36ea9a4d54072b7f95a82ca277ce7e04da84402d697cc33a7e4f4a1778009c7a029c42360a9c0813f6d889343df4e74e9a WHIRLPOOL 53f9aa8229591fa363a6d32f1789bb69d89cb68f2cf4c1a1ce75307c8577bba264bba2c8fed7a6457e3dc9490252dc81ff491a98c6a31dbf1b7588274d21a7b6
+MISC ChangeLog 2557 SHA256 4a368d4f61298100b6127d1ff7a05af318f14af8ba82e3863fe50da98335ec26 SHA512 4dd2e1a3f8496ffa2f8fc0787455607bcf7e8a973fbd0b98bb832a379c4836a06c3a0c8f1a96de653ca45dc4a92c17265313d4899dba7bc5f64288164dcd1fee WHIRLPOOL e7a37b46f72983d7e335a03fb655794703fc90f8db2da089e59977b4c6be0e9b261aa0467eed4f099c8636f162de8ae59138da8f6eca81e981efdebdf213ca22
+MISC ChangeLog-2015 849 SHA256 adc50729d1061c13e1b6e5a347a2643743d1ed9347b517386bbf77dd79f1547b SHA512 4d7388d417df6590b820b1576937fa9ecd08700f7301b1a06c17297d249b355d786283abbd35f03aa1f5484c57db8a5e8de96553d78672b3a06afe1d13e0fb67 WHIRLPOOL a4eaf946e206345f4a8cc8bfd9b9c8b25d3bc4781e3113f5a2e57f8c19ae60f66f4defcdab8d69332c55bc3875cef0893efcee2f6b04ee31dc2c669e06d242e7
+MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705
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..db08399d82ab
--- /dev/null
+++ b/dev-java/smack/smack-2.2.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/*
+
+}