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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Jul 9 21:12:30 2015 UTC (4 years, 6 months ago) by chewi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove old versions.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)

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-nodeps/ant-nodeps-1.8.2.ebuild,v 1.8 2012/05/27 21:26:45 sera Exp $
4
5 EAPI="4"
6
7 ANT_TASK_DEPNAME=""
8 ANT_TASK_DISABLE_VM_DEPS="true"
9
10 inherit ant-tasks
11
12 # to disable vm switching
13 JAVA_PKG_WANT_SOURCE="1.4"
14 JAVA_PKG_WANT_TARGET="1.4"
15 # disable QA notice
16 JAVA_PKG_BSFIX="no"
17
18 DESCRIPTION="Formerly Ant's optional tasks w/o external deps, now compat empty jar"
19 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"
20 IUSE=""
21
22 DEPEND=">=virtual/jdk-1.4" #jar
23 RDEPEND=""
24
25 src_compile() {
26 # the classes were moved to ant-core in 1.8.2, this is just for compatibility
27 mkdir -p build/lib/empty && cd build/lib/empty || die
28 jar -cf ../${PN}.jar . || die
29 }
30
31 src_postinst() {
32 elog "Upstream has removed ant-nodeps.jar as of 1.8.2 and moved the classes to ant.jar"
33 elog "This package thus installs an empty jar for compatibility"
34 elog "and will be removed once reverse dependencies are transitioned."
35 }

  ViewVC Help
Powered by ViewVC 1.1.20