summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-07-18 19:06:01 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-07-18 19:06:01 +0000
commitd9c0593a1a4f27ea063aeb3eac7cc73074f29f80 (patch)
treefd208baae592dd94bc491c2885d341cff0e2d4af /dev-java/slf4j-api
parentsparc/x86 stable (diff)
downloadgentoo-2-d9c0593a1a4f27ea063aeb3eac7cc73074f29f80.tar.gz
gentoo-2-d9c0593a1a4f27ea063aeb3eac7cc73074f29f80.tar.bz2
gentoo-2-d9c0593a1a4f27ea063aeb3eac7cc73074f29f80.zip
Initial ebuild. Fixes bug #230573.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'dev-java/slf4j-api')
-rw-r--r--dev-java/slf4j-api/ChangeLog10
-rw-r--r--dev-java/slf4j-api/Manifest5
-rw-r--r--dev-java/slf4j-api/files/build.xml19
-rw-r--r--dev-java/slf4j-api/metadata.xml5
-rw-r--r--dev-java/slf4j-api/slf4j-api-1.5.2.ebuild32
5 files changed, 71 insertions, 0 deletions
diff --git a/dev-java/slf4j-api/ChangeLog b/dev-java/slf4j-api/ChangeLog
new file mode 100644
index 000000000000..e7607ecfaf6a
--- /dev/null
+++ b/dev-java/slf4j-api/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/slf4j-api
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-api/ChangeLog,v 1.1 2008/07/18 19:06:00 serkan Exp $
+
+*slf4j-api-1.5.2 (18 Jul 2008)
+
+ 18 Jul 2008; Serkan Kaba <serkan@gentoo.org> +files/build.xml,
+ +metadata.xml, +slf4j-api-1.5.2.ebuild:
+ Initial ebuild. Fixes bug #230573.
+
diff --git a/dev-java/slf4j-api/Manifest b/dev-java/slf4j-api/Manifest
new file mode 100644
index 000000000000..7f34e44a34cd
--- /dev/null
+++ b/dev-java/slf4j-api/Manifest
@@ -0,0 +1,5 @@
+AUX build.xml 492 RMD160 56a75d8adcd338e404cf33057cf3a64e8226e78a SHA1 594df7320821d0ec6d10207e67e493c33ccbc90d SHA256 911feb29e032f48f88f97c82fd636da61a5b91fc53e60cd9df2d9a78319e85a8
+DIST slf4j-api-1.5.2-sources.jar 35058 RMD160 1844bf4c10db58871f7bb103f32c0129e143469f SHA1 fb50eb79b272381a441c73770a08a0d677e98c52 SHA256 bc3ff18441e9843e7dff65db00ae1836288d9f0c8461396753ee5bff9884dc8a
+EBUILD slf4j-api-1.5.2.ebuild 636 RMD160 5e083f511266f5273146ac4e3538439eaf12a848 SHA1 bff478622fe71ec796fbab8b2bb684c2631c881e SHA256 7f4c88ae2f248876af984e49f3d912aa327fc713150f4a45ad5b428d28dc82e1
+MISC ChangeLog 296 RMD160 9daeb388180e1653a61d1478a7d0e34164802949 SHA1 c539c682c9c75cb023e2e5c4d572a86cf65d70e8 SHA256 2b07c009edb7ffd044bf58539fcf7c9679dcbc0e1d755cd77deafa62a3f6ca7b
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
diff --git a/dev-java/slf4j-api/files/build.xml b/dev-java/slf4j-api/files/build.xml
new file mode 100644
index 000000000000..eab564de60a4
--- /dev/null
+++ b/dev-java/slf4j-api/files/build.xml
@@ -0,0 +1,19 @@
+<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="slf4j-api.jar" basedir="build">
+ <exclude name="org/slf4j/impl/**"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <mkdir dir="docs"/>
+ <javadoc sourcepath="." destdir="docs" classpath="${gentoo.classpath}"/>
+ </target>
+
+</project>
diff --git a/dev-java/slf4j-api/metadata.xml b/dev-java/slf4j-api/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/slf4j-api/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/slf4j-api/slf4j-api-1.5.2.ebuild b/dev-java/slf4j-api/slf4j-api-1.5.2.ebuild
new file mode 100644
index 000000000000..27df48849a54
--- /dev/null
+++ b/dev-java/slf4j-api/slf4j-api-1.5.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-api/slf4j-api-1.5.2.ebuild,v 1.1 2008/07/18 19:06:00 serkan Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Simple Logging Facade for Java"
+HOMEPAGE="http://www.slf4j.org/"
+SRC_URI="mirror://gentoo/${P}-sources.jar"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+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
+}