/[gentoo-x86]/dev-java/xsdlib/xsdlib-20090415.ebuild
Gentoo

Contents of /dev-java/xsdlib/xsdlib-20090415.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Jun 27 21:41:54 2013 UTC (14 months, 3 weeks ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/xsdlib-20090415.ebuild,v 1.8 2013/02/05 06:14:24 zerochaos Exp $
4
5 EAPI="4"
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-pkg-simple
10
11 DESCRIPTION="Sun XML Datatypes Library"
12 HOMEPAGE="http://msv.java.net/"
13 SRC_URI="http://java.net/downloads/msv/releases/${PN}.${PV}.zip"
14
15 LICENSE="BSD Apache-1.1"
16 SLOT="0"
17 KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
18 IUSE=""
19
20 COMMON_DEP="
21 dev-java/xerces:2
22 dev-java/relaxng-datatype:0"
23 RDEPEND="${COMMON_DEP}
24 >=virtual/jre-1.4"
25 DEPEND="${COMMON_DEP}
26 >=virtual/jdk-1.4
27 app-arch/unzip"
28
29 S="${WORKDIR}/${P}"
30
31 java_prepare() {
32 find -name '*.jar' -exec rm -v {} + || die
33 }
34
35 JAVA_SRC_DIR="src src-apache"
36 JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2"
37
38 src_compile() {
39 java-pkg-simple_src_compile
40
41 local dir; for dir in ${JAVA_SRC_DIR}; do
42 pushd ${dir} > /dev/null || die
43 jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die
44 popd > /dev/null
45 done
46 }
47
48 src_install() {
49 java-pkg-simple_src_install
50
51 dodoc README.txt
52 dohtml HowToUse.html
53 }

  ViewVC Help
Powered by ViewVC 1.1.20