diff options
Diffstat (limited to 'dev-java/skinlf/skinlf-1.2.12-r1.ebuild')
-rw-r--r-- | dev-java/skinlf/skinlf-1.2.12-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/skinlf/skinlf-1.2.12-r1.ebuild b/dev-java/skinlf/skinlf-1.2.12-r1.ebuild new file mode 100644 index 000000000000..6727d0ec272f --- /dev/null +++ b/dev-java/skinlf/skinlf-1.2.12-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/skinlf/skinlf-1.2.12-r1.ebuild,v 1.1 2006/01/24 21:05:10 zzam Exp $ + +inherit java-pkg eutils + +MY_P="${P}-20051009" + +DESCRIPTION="Skin Look and Feel - Skinning Engine for the Swing toolkit" +HOMEPAGE="http://skinlf.l2fprod.com/" +SRC_URI="https://skinlf.dev.java.net/files/documents/66/22128/${MY_P}.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="source" + +RDEPEND=">=virtual/jre-1.3 + dev-java/javacc + dev-java/xalan + dev-java/xerces" + +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.5.4 + dev-java/ant-tasks + source? ( app-arch/zip )" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-image-utils-without-jimi.patch + + cp ${FILESDIR}/${P}-build.xml ${S}/build.xml + cp ${FILESDIR}/${P}-common.xml ${S}/common.xml + cp ${FILESDIR}/${P}-common-devjavanet.xml ${S}/common-devjavanet.xml + + cd ${S}/lib + rm *.jar + + java-pkg_jar-from javacc + java-pkg_jar-from xalan + java-pkg_jar-from xerces-2 +} + +src_compile() { + local antflags="jar" + #use doc && antflags="${antflags} public-doc" + cd ${S} + ant ${antflags} || die "compilation failed !" +} + +src_install() { + use source && java-pkg_dosrc src/* + java-pkg_dojar build/skinlf.jar + + #java-pkg_dojar lib/skinlf.jar + dodoc LICENSE LICENSE_nanoxml +} + + |