35 lines
921 B
Bash
35 lines
921 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=2
|
|
COMMIT="5487ba3"
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit java-pkg-2 java-pkg-simple
|
|
|
|
DESCRIPTION="Jansi is a small java library that allows you to use ANSI escape sequences in your console output"
|
|
HOMEPAGE="http://jansi.fusesource.org/"
|
|
SRC_URI="https://github.com/fusesource/${PN}/tarball/${PN}-project-${PV} -> ${P}.tar.gz"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=virtual/jre-1.5
|
|
dev-java/hawtjni-runtime
|
|
dev-java/jansi-native"
|
|
|
|
DEPEND=">=virtual/jdk-1.5
|
|
dev-java/hawtjni-runtime
|
|
dev-java/jansi-native"
|
|
|
|
S="${WORKDIR}/fusesource-${PN}-${COMMIT}/${PN}"
|
|
JAVA_SRC_DIR="src/main/java"
|
|
JAVA_GENTOO_CLASSPATH="hawtjni-runtime jansi-native"
|
|
|
|
java_prepare() {
|
|
# Easier to use java-pkg-simple.
|
|
rm -v pom.xml || die
|
|
}
|