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/slf4j-nop-1.5.2.ebuild | |
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/slf4j-nop-1.5.2.ebuild')
-rw-r--r-- | dev-java/slf4j-nop/slf4j-nop-1.5.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} |