summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/mina-core
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/mina-core')
-rw-r--r--dev-java/mina-core/Manifest1
-rw-r--r--dev-java/mina-core/files/build.xml17
-rw-r--r--dev-java/mina-core/metadata.xml5
-rw-r--r--dev-java/mina-core/mina-core-1.1.7.ebuild36
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/mina-core/Manifest b/dev-java/mina-core/Manifest
new file mode 100644
index 00000000000..64e68b6c726
--- /dev/null
+++ b/dev-java/mina-core/Manifest
@@ -0,0 +1 @@
+DIST mina-core-1.1.7-sources.jar 272148 SHA256 53890e14b238eab91f70459f01656a6afb520364b6238c8fa9c3855b02cf8573 SHA512 44f2f94aa356ce1b4ac0379ecec7b76b15210e54314c911bd8ba6d48910415363c9a34dc50e29b8e04ad08a371398ad9e2a00065a44b71c25caa3ef14a72b832 WHIRLPOOL 82f97287027e3c32ff489345ce385bd31325e0755ef9744f1a81a9cf295f8cde1bf0ba44b1afe506a3b08f37e601e55a88d4dd0936abe7c4eccf716962bd8943
diff --git a/dev-java/mina-core/files/build.xml b/dev-java/mina-core/files/build.xml
new file mode 100644
index 00000000000..dc667782ba2
--- /dev/null
+++ b/dev-java/mina-core/files/build.xml
@@ -0,0 +1,17 @@
+<project name="slf4j-api" default="jar">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac srcdir="." destdir="build" classpath="${gentoo.classpath}">
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar destfile="mina-core.jar" basedir="build"/>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <mkdir dir="docs"/>
+ <javadoc sourcepath="." destdir="docs" classpath="${gentoo.classpath}"/>
+ </target>
+
+</project>
diff --git a/dev-java/mina-core/metadata.xml b/dev-java/mina-core/metadata.xml
new file mode 100644
index 00000000000..250f2d1940e
--- /dev/null
+++ b/dev-java/mina-core/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/mina-core/mina-core-1.1.7.ebuild b/dev-java/mina-core/mina-core-1.1.7.ebuild
new file mode 100644
index 00000000000..a15d2288cda
--- /dev/null
+++ b/dev-java/mina-core/mina-core-1.1.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Apache MINA Project"
+HOMEPAGE="http://mina.apache.org/"
+SRC_URI="mirror://gentoo/${P}-sources.jar"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+ dev-java/slf4j-api"
+DEPEND=">=virtual/jdk-1.5
+ dev-java/slf4j-api
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+EANT_GENTOO_CLASSPATH="slf4j-api"
+
+src_unpack() {
+ unpack ${A}
+ cp -v "${FILESDIR}"/build.xml . || die
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc org
+}