# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/jackson-annotations/jackson-annotations-2.3.0.ebuild,v 1.1 2014/01/12 18:26:21 ercpe Exp $ EAPI="5" JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 DESCRIPTION="High-performance JSON processor" HOMEPAGE="http://jackson.codehaus.org" SRC_URI="https://github.com/FasterXML/${PN}/archive/${PN}-${PV}.tar.gz" LICENSE="|| ( Apache-2.0 LGPL-2.1 )" SLOT="2" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=virtual/jre-1.5" DEPEND=">=virtual/jdk-1.5" S="${WORKDIR}/${PN}-${PN}-${PV}" java_prepare() { cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die } src_install() { java-pkg_dojar target/${PN}.jar use doc && java-pkg_dojavadoc target/site/apidocs/ use source && java-pkg_dosrc src/main/java/* }