diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-20 00:04:33 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-20 00:04:33 +0000 |
commit | f444dd07cb772a9fac06d5cdeeef964b3d17227b (patch) | |
tree | c5562c42a264dda89325dcdc1d867d525ad70c82 /dev-java/jibx/jibx-1.1.5.ebuild | |
parent | Fix dependencies for pambase/pam. (diff) | |
download | gentoo-2-f444dd07cb772a9fac06d5cdeeef964b3d17227b.tar.gz gentoo-2-f444dd07cb772a9fac06d5cdeeef964b3d17227b.tar.bz2 gentoo-2-f444dd07cb772a9fac06d5cdeeef964b3d17227b.zip |
Version bump. Fixes bug #210199.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/jibx/jibx-1.1.5.ebuild')
-rw-r--r-- | dev-java/jibx/jibx-1.1.5.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/jibx/jibx-1.1.5.ebuild b/dev-java/jibx/jibx-1.1.5.ebuild new file mode 100644 index 000000000000..1f0add30a137 --- /dev/null +++ b/dev-java/jibx/jibx-1.1.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx/jibx-1.1.5.ebuild,v 1.1 2008/02/20 00:04:33 betelgeuse Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 versionator + +MY_PV=$(replace_all_version_separators '_') + +DESCRIPTION="JiBX: Binding XML to Java Code" +HOMEPAGE="http://jibx.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP="dev-java/dom4j:1 + dev-java/ant-core + dev-java/bcel:0 + dev-java/jsr173:0 + dev-java/xpp3:0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + + cd "${S}/lib" + rm -v *.jar || die + + java-pkg_jarfrom ant-core + java-pkg_jarfrom bcel + java-pkg_jarfrom dom4j-1 + java-pkg_jarfrom jsr173 + java-pkg_jarfrom xpp3 +} + +EANT_BUILD_XML="build/build.xml" +EANT_BUILD_TARGET="small-jars" + +src_install() { + java-pkg_dojar "${S}"/lib/*.jar + + dodoc changes.txt docs/binding.dtd docs/binding.xsd || die + dohtml readme.html || die + + use doc && { + java-pkg_dohtml -r docs/* + cp -R starter "${D}/usr/share/doc/${PF}" + cp -R tutorial "${D}/usr/share/doc/${PF}" + } + + use source && java-pkg_dosrc ${S}/build/src/* ${S}/build/extras/* +} |