diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-07-18 19:11:22 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-07-18 19:11:22 +0000 |
commit | 3034466bc0a9beaecf4e6e6ad2dbbf18b1a73d11 (patch) | |
tree | 1cdb46b3daf94f54f979c7d8a3db82155f15b465 /dev-java/slf4j-nop | |
parent | Initial ebuild. Fixes bug #230573. (diff) | |
download | gentoo-2-3034466bc0a9beaecf4e6e6ad2dbbf18b1a73d11.tar.gz gentoo-2-3034466bc0a9beaecf4e6e6ad2dbbf18b1a73d11.tar.bz2 gentoo-2-3034466bc0a9beaecf4e6e6ad2dbbf18b1a73d11.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-nop')
-rw-r--r-- | dev-java/slf4j-nop/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/slf4j-nop/Manifest | 5 | ||||
-rw-r--r-- | dev-java/slf4j-nop/files/build.xml | 17 | ||||
-rw-r--r-- | dev-java/slf4j-nop/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/slf4j-nop/slf4j-nop-1.5.2.ebuild | 36 |
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/slf4j-nop/ChangeLog b/dev-java/slf4j-nop/ChangeLog new file mode 100644 index 000000000000..85db1cbdf89e --- /dev/null +++ b/dev-java/slf4j-nop/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/slf4j-nop +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-nop/ChangeLog,v 1.1 2008/07/18 19:11:21 serkan Exp $ + +*slf4j-nop-1.5.2 (18 Jul 2008) + + 18 Jul 2008; Serkan Kaba <serkan@gentoo.org> +files/build.xml, + +metadata.xml, +slf4j-nop-1.5.2.ebuild: + Initial ebuild. Fixes bug #230573. + diff --git a/dev-java/slf4j-nop/Manifest b/dev-java/slf4j-nop/Manifest new file mode 100644 index 000000000000..792d36d9aa04 --- /dev/null +++ b/dev-java/slf4j-nop/Manifest @@ -0,0 +1,5 @@ +AUX build.xml 445 RMD160 a19ad85f100c62912224d703a6605079523536c5 SHA1 eb9e40fb9b09a5add2f5613c6e890f43268983b6 SHA256 b31b5f53ecf3503e1f42ef5666f83ed7d3831fab0ab946a6a91269921f76c34f +DIST slf4j-nop-1.5.2-sources.jar 6868 RMD160 6e064a12617b896c0c03d3a41486f103c70d25d5 SHA1 b6242ea6ff5cc0006487fab6d1de93314fc3785a SHA256 6b448adf7ecc9a295f5e12949052411940f422b3f656642d26a096f1d532bdd5 +EBUILD slf4j-nop-1.5.2.ebuild 711 RMD160 19eb0604ea2c136975547381999118620ce5c999 SHA1 dba660ee9ce34df7c3f4e0def3d6908eeb90c42d SHA256 2eba245f68c6d82f19e519f02f7a8e3661882aaadf3c94408a3b43ca231e7d15 +MISC ChangeLog 296 RMD160 7e97999262124b4f18101099941742dbe78f6c9e SHA1 04e4eef31c6dbbce05547a3f076e93dde3699b6b SHA256 382841d6c661687d85392a55865893b539f110875f694f88dee616217862fbf7 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb diff --git a/dev-java/slf4j-nop/files/build.xml b/dev-java/slf4j-nop/files/build.xml new file mode 100644 index 000000000000..e45340800a0b --- /dev/null +++ b/dev-java/slf4j-nop/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="slf4j-nop.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/slf4j-nop/metadata.xml b/dev-java/slf4j-nop/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/slf4j-nop/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-nop/slf4j-nop-1.5.2.ebuild b/dev-java/slf4j-nop/slf4j-nop-1.5.2.ebuild new file mode 100644 index 000000000000..61104dd4affe --- /dev/null +++ b/dev-java/slf4j-nop/slf4j-nop-1.5.2.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/slf4j-nop/slf4j-nop-1.5.2.ebuild,v 1.1 2008/07/18 19:11:21 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 + dev-java/slf4j-api" +DEPEND=">=virtual/jdk-1.4 + 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 +} |