/[gentoo-x86]/dev-java/ant-nodeps/ant-nodeps-1.8.4.ebuild
Gentoo

Contents of /dev-java/ant-nodeps/ant-nodeps-1.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Dec 5 17:33:06 2012 UTC (7 years, 2 months ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for ppc64, wrt bug #417909

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 sera 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-java/ant-nodeps/ant-nodeps-1.8.4.ebuild,v 1.4 2012/08/23 08:24:22 xmw Exp $
4 sera 1.1
5     EAPI="4"
6    
7     ANT_TASK_DEPNAME=""
8     ANT_TASK_DISABLE_VM_DEPS="true"
9    
10     inherit ant-tasks
11    
12     DESCRIPTION="Formerly Ant's optional tasks w/o external deps, now compat empty jar"
13 ago 1.5 KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14 sera 1.1 IUSE=""
15    
16     DEPEND=">=virtual/jdk-1.4" #jar
17    
18     src_compile() {
19     # the classes were moved to ant-core in 1.8.2, this is just for compatibility
20     mkdir -p build/lib/empty && cd build/lib/empty || die
21     jar -cf ../${PN}.jar . || die
22     }
23    
24     pkg_postinst() {
25     elog "Upstream has removed ant-nodeps.jar as of 1.8.2 and moved the classes to ant.jar"
26     elog "This package thus installs an empty jar for compatibility"
27     elog "and will be removed once reverse dependencies are transitioned."
28     }

  ViewVC Help
Powered by ViewVC 1.1.20