/[gentoo-x86]/dev-java/sun-dtdparser/sun-dtdparser-1.0.ebuild
Gentoo

Contents of /dev-java/sun-dtdparser/sun-dtdparser-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Apr 5 21:49:19 2008 UTC (6 years, 6 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -1 lines
Add missing unzip dep, bug #216410.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-dtdparser/sun-dtdparser-1.0.ebuild,v 1.6 2008/03/28 18:03:51 nixnut Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Sun DTDParser"
10 HOMEPAGE="https://jaxb2-sources.dev.java.net/"
11 # Downloadable from https://jaxb2-sources.dev.java.net/
12 SRC_URI="mirror://gentoo/dtd-parser-${PV}-src.zip"
13
14 LICENSE="BSD-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
17
18 IUSE=""
19
20 COMMON_DEP=""
21
22 RDEPEND=">=virtual/jre-1.4
23 ${COMMON_DEP}"
24 DEPEND=">=virtual/jdk-1.4
25 app-arch/unzip
26 ${COMMON_DEP}"
27
28 S="${WORKDIR}/dtd-parser-${PV}"
29
30 src_install() {
31 java-pkg_newjar "${S}/target/dtd-parser-1.0.jar"
32 use source && java-pkg_dosrc src/*
33 use doc && java-pkg_dojavadoc dist/docs/api
34 }

  ViewVC Help
Powered by ViewVC 1.1.20