/[gentoo-x86]/dev-java/tclib/tclib-1.1.ebuild
Gentoo

Contents of /dev-java/tclib/tclib-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 15 14:35:09 2012 UTC (2 years, 4 months ago) by sera
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -3 lines
Add missing build dep app-arch/unzip. #407177

(Portage version: 2.1.10.49/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/tclib/tclib-1.1.ebuild,v 1.2 2009/11/13 18:42:53 weaver Exp $
4
5 EAPI="2"
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Type-Specific Collections Library"
12 HOMEPAGE="http://www.sosnoski.com/opensrc/tclib/"
13 SRC_URI="mirror://gentoo/${P}-source.jar"
14
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 RDEPEND=">=virtual/jre-1.4"
21 DEPEND=">=virtual/jdk-1.4
22 app-arch/unzip"
23
24 S="${WORKDIR}"
25
26 java_prepare() {
27 find -name '*.jar' -print -delete
28 find -name '*.class' -print -delete
29 }
30
31 EANT_BUILD_XML="build/build.xml"
32 EANT_BUILD_TARGET="package"
33
34 src_install() {
35 java-pkg_dojar lib/tclib.jar
36 use source && java-pkg_dosrc build/src
37 use doc && java-pkg_dojavadoc build/docs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20