diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-07-07 14:46:03 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-07-07 18:18:44 +0200 |
commit | 887f8308d10c220433e020d24f22a0531f7adb4b (patch) | |
tree | b89d0f346ceda0ed4e615691968beadba9ec9760 /dev-java/jibx/jibx-1.1.5-r3.ebuild | |
parent | dev-java/jibx: add a SLOT to jibx-1.2. (diff) | |
download | gentoo-887f8308d10c220433e020d24f22a0531f7adb4b.tar.gz gentoo-887f8308d10c220433e020d24f22a0531f7adb4b.tar.bz2 gentoo-887f8308d10c220433e020d24f22a0531f7adb4b.zip |
dev-java/jibx: EAPI 6 bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --force
Diffstat (limited to 'dev-java/jibx/jibx-1.1.5-r3.ebuild')
-rw-r--r-- | dev-java/jibx/jibx-1.1.5-r3.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/jibx/jibx-1.1.5-r3.ebuild b/dev-java/jibx/jibx-1.1.5-r3.ebuild new file mode 100644 index 000000000000..08b38a263037 --- /dev/null +++ b/dev-java/jibx/jibx-1.1.5-r3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" + +CDEPEND=" + dev-java/bcel:0 + dev-java/xpp3:0 + dev-java/dom4j:1 + dev-java/ant-core:0" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${PN}" + +DOCS=( changes.txt docs/binding.dtd docs/binding.xsd ) +HTML_DOCS=( readme.html docs starter tutorial ) + +EANT_BUILD_TARGET="small-jars" +EANT_BUILD_XML="build/build.xml" + +src_prepare() { + default + java-pkg_clean + java-pkg_jar-from --into lib ant-core,bcel,dom4j-1,xpp3 +} + +src_install() { + java-pkg_dojar "${S}"/lib/${PN}*.jar + use source && java-pkg_dosrc build/src/* build/extras/* + einstalldocs +} |