diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 16:23:51 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 16:23:51 +0000 |
commit | 3cf011c08cc5de750a812faa3fbe6fb14fe57acc (patch) | |
tree | a100bd3a863a3fff9fcc91977135c50c51293420 /dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild | |
parent | Add java-virtuals/stax-api. Fixes bug #224677. (diff) | |
download | gentoo-2-3cf011c08cc5de750a812faa3fbe6fb14fe57acc.tar.gz gentoo-2-3cf011c08cc5de750a812faa3fbe6fb14fe57acc.tar.bz2 gentoo-2-3cf011c08cc5de750a812faa3fbe6fb14fe57acc.zip |
Migrate to stax-api virtual.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild')
-rw-r--r-- | dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild b/dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild new file mode 100644 index 000000000000..e3d4cada007e --- /dev/null +++ b/dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/fastinfoset/fastinfoset-1.2.1-r1.ebuild,v 1.1 2008/10/05 16:23:51 serkan Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Fast Infoset" +HOMEPAGE="https://fi.dev.java.net/" +SRC_URI="https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_${PV}.zip" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEP="java-virtuals/stax-api" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP} + app-arch/unzip" + +S="${WORKDIR}" + +src_unpack() { + + unpack ${A} + + mkdir src lib + mv com org src/ || die + + cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die + + cd "${S}/lib" + java-pkg_jar-from --virtual stax-api + +} + +src_install() { + + java-pkg_newjar fi.jar + + use source && java-pkg_dosrc src/* + +} |