2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-18 00:10:27 +03:00
Files
gentoo/dev-java/jpfcodegen/jpfcodegen-0.4.ebuild
Repository QA checks a637bd65b7 2015-06-19 16:35:30 UTC
2015-06-19 12:38:33 -04:00

42 lines
1.2 KiB
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jpfcodegen/jpfcodegen-0.4.ebuild,v 1.4 2014/08/10 20:19:40 slyfox Exp $
EAPI=1
inherit java-pkg-2 java-ant-2
DESCRIPTION="Generator of classes for accessing the attributes and extensions of JPF plug-ins"
HOMEPAGE="http://jabref.sourceforge.net/"
# packaging instructions:
# svn export https://jabref.svn.sourceforge.net/svnroot/jabref/tags/jpfcodegen-0.4
# rm jpfcodegen-0.4/lib/*.jar
# sed -i 's/, unjarlib"/"/' jpfcodegen-0.4/build.xml
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
COMMON_DEP="dev-java/velocity:0
dev-java/jpf:1.5"
DEPEND="app-arch/unzip
>=virtual/jdk-1.5
${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
# doc target is name="-javadoc" and would need a patch, on demand
EANT_BUILD_TARGET="jars"
EANT_GENTOO_CLASSPATH="jpf-1.5,velocity"
JAVA_ANT_REWRITE_CLASSPATH="true"
src_install() {
java-pkg_newjar JPFCodeGenerator-${PV}.jar JPFCodeGenerator.jar
java-pkg_newjar JPFCodeGenerator-${PV}-rt.jar JPFCodeGenerator-rt.jar
dohtml index.html
}