/[gentoo-x86]/dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild
Gentoo

Contents of /dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Aug 3 21:20:23 2012 UTC (7 years, 10 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Version bump, bug #407067. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild and build.xml.

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-api/slf4j-api-1.5.11.ebuild,v 1.5 2010/10/14 16:59:11 ranger Exp $
4
5 EAPI="4"
6 JAVA_PKG_IUSE="doc source"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="Simple Logging Facade for Java"
11 HOMEPAGE="http://www.slf4j.org/"
12 SRC_URI="http://www.slf4j.org/dist/${P/-nop/}.tar.gz"
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
16 IUSE=""
17
18 COMMON_DEP="~dev-java/slf4j-api-${PV}:0"
19 RDEPEND=">=virtual/jre-1.4
20 ${COMMON_DEP}"
21 DEPEND=">=virtual/jdk-1.4
22 app-arch/unzip
23 ${COMMON_DEP}"
24
25 S="${WORKDIR}/${P/-api/}"
26
27 EANT_GENTOO_CLASSPATH="slf4j-api"
28
29 S="${WORKDIR}/${P/-nop/}"
30
31 java_prepare() {
32 cp -v "${FILESDIR}"/${PV}-build.xml build.xml || die
33
34 # for ecj-3.5
35 java-ant_rewrite-bootclasspath auto
36
37 cd "${S}"
38 rm *.jar integration/lib/*.jar
39 }
40
41 src_install() {
42 java-pkg_dojar ${PN}.jar
43 use doc && java-pkg_dojavadoc docs
44 use source && java-pkg_dosrc org
45 }

  ViewVC Help
Powered by ViewVC 1.1.20