/[gentoo-x86]/dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild
Gentoo

Contents of /dev-java/ant-owanttask/ant-owanttask-1.1-r12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sun Apr 15 18:09:59 2012 UTC (2 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.13: +2 -2 lines
Add back ia64 love #349020 by Dennis Schridde.

(Portage version: 2.2.0_alpha100/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/ant-owanttask/ant-owanttask-1.1-r12.ebuild,v 1.13 2012/01/01 22:25:40 sera Exp $
4
5 inherit eutils java-pkg-2 java-ant-2
6
7 DESCRIPTION="ObjectWeb's Ant tasks"
8 HOMEPAGE="http://monolog.objectweb.org"
9 MY_P="owanttask-${PV}"
10 SRC_URI="http://www.gentoo.org/~karltk/java/distfiles/${MY_P}-gentoo.tar.bz2"
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
14 IUSE=""
15 COMMON_DEP="dev-java/xalan"
16 DEPEND=">=virtual/jdk-1.4
17 ${COMMON_DEP}"
18 RDEPEND=">=virtual/jre-1.4
19 >=dev-java/ant-core-1.7.0
20 ${COMMON_DEP}"
21
22 S=${WORKDIR}/${MY_P}
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}/${P}-classpath.patch"
28
29 cp -f "${FILESDIR}/MultipleCopy.java" src/org/objectweb/util/ant
30
31 mkdir lib
32 cd lib
33 java-pkg_jar-from ant-core ant.jar
34 java-pkg_jar-from xalan
35 }
36
37 src_install() {
38 java-pkg_dojar output/lib/ow_util_ant_tasks.jar
39 }
40
41 pkg_postinst() {
42 ewarn "The MultipleCopy task is not compatible with ant-1.7.0 and newer"
43 ewarn "Attempt to use it will break building."
44 }

  ViewVC Help
Powered by ViewVC 1.1.20