summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-07-18 19:20:27 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-07-18 19:20:27 +0000
commitf6158faefb2e0ee05e01efded9e445ce827bbd21 (patch)
tree0c60bd7b5fcb3f2b178156384402de79748b7d2a /dev-java/mina-core
parentamd64 stable wrt bug #231074 (diff)
downloadhistorical-f6158faefb2e0ee05e01efded9e445ce827bbd21.tar.gz
historical-f6158faefb2e0ee05e01efded9e445ce827bbd21.tar.bz2
historical-f6158faefb2e0ee05e01efded9e445ce827bbd21.zip
Initial ebuild. Fixes bug #230571.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64
Diffstat (limited to 'dev-java/mina-core')
-rw-r--r--dev-java/mina-core/ChangeLog10
-rw-r--r--dev-java/mina-core/Manifest15
-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
5 files changed, 83 insertions, 0 deletions
diff --git a/dev-java/mina-core/ChangeLog b/dev-java/mina-core/ChangeLog
new file mode 100644
index 000000000000..577ab79a8f01
--- /dev/null
+++ b/dev-java/mina-core/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/mina-core
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mina-core/ChangeLog,v 1.1 2008/07/18 19:20:26 serkan Exp $
+
+*mina-core-1.1.7 (18 Jul 2008)
+
+ 18 Jul 2008; Serkan Kaba <serkan@gentoo.org> +files/build.xml,
+ +metadata.xml, +mina-core-1.1.7.ebuild:
+ Initial ebuild. Fixes bug #230571.
+
diff --git a/dev-java/mina-core/Manifest b/dev-java/mina-core/Manifest
new file mode 100644
index 000000000000..41ac8a1d6bb7
--- /dev/null
+++ b/dev-java/mina-core/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX build.xml 445 RMD160 08831744245ab61d4b57c94d55be9081cfefc4de SHA1 41b4a4f1fc0025bd983eba544adb4dba7bb4133e SHA256 43e456dfd734687876cb9e67a3c4a8b2bc430803d617238a767a1b27684f23f1
+DIST mina-core-1.1.7-sources.jar 272148 RMD160 3c7fd9ae8df76febd991844167be8d9db3b17cae SHA1 04e6955ca70e2355616aa7131f1a5c409ef957f0 SHA256 53890e14b238eab91f70459f01656a6afb520364b6238c8fa9c3855b02cf8573
+EBUILD mina-core-1.1.7.ebuild 812 RMD160 6301539d876b4af2470b5cd1bc41f6bcb40213bf SHA1 1e5648bcc7645aa0527e2e2ed6ad1494aae3c0d6 SHA256 fbb93ed7add2c06ddf88055a2c274cf7ee78dbfb2f5eed82fea67a5fe438ebb4
+MISC ChangeLog 386 RMD160 80dedc09069bf4ad4967222dc982139b7f48b0b4 SHA1 5951771383546254a166e6848de9b89cff3b6659 SHA256 21acb5fed3fe8613ff4b164ba42f5d6014798f7d7aa1bffaecc12167d2441314
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiA7QcACgkQRh6X64ivZaKTGACfQlx9EkrulvEM940Oh/P04LWh
+iqUAnihTs8cYuA0A0x+YC1wDbaFImJLc
+=ale0
+-----END PGP SIGNATURE-----
diff --git a/dev-java/mina-core/files/build.xml b/dev-java/mina-core/files/build.xml
new file mode 100644
index 000000000000..dc667782ba28
--- /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 000000000000..250f2d1940ea
--- /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 000000000000..668b0a4b2c6d
--- /dev/null
+++ b/dev-java/mina-core/mina-core-1.1.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mina-core/mina-core-1.1.7.ebuild,v 1.1 2008/07/18 19:20:26 serkan Exp $
+
+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 ~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
+}