1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source"
8 inherit java-pkg-2 java-ant-2
10 DESCRIPTION="OSGi R4 Foundation EE by Apache Felix"
11 HOMEPAGE="http://felix.apache.org/"
12 SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz"
14 LICENSE="Apache-2.0 OSGi-Specification-2.0"
18 DEPEND=">=virtual/jdk-1.5"
19 RDEPEND=">=virtual/jre-1.5"
22 cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die
26 java-pkg_newjar target/org.osgi.foundation-${PV}.jar org.osgi.foundation.jar