linamh/dev-java/isfreetype/isfreetype-5.6.20131203.ebuild
Mario Fetka b505adddd6 Update Requ to 1.7 java
Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
2014-06-23 11:48:08 +02:00

44 lines
910 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
JAVA_PKG_IUSE="source doc"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="isnativec,isrt,jna"
inherit java-pkg-2 java-ant-2
DESCRIPTION="This is a generic native code wrapper."
HOMEPAGE="http://opensource.intarsys.de/"
SRC_URI="mirror://sourceforge/jpodrenderer/isFreetype.${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEP="dev-java/jna:0
dev-java/isrt:0
dev-java/isnativec:0"
RDEPEND=">=virtual/jre-1.7
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.7
${COMMON_DEP}
app-arch/unzip"
S="${WORKDIR}"/distribution
java_prepare() {
cp "${FILESDIR}"/build.* "${S}" || die
}
src_install() {
java-pkg_dojar build/isfreetype/dist/isfreetype.jar
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc build/isfreetype/javadoc
}