You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
814 B
36 lines
814 B
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=2
|
|
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit eutils java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="Biojava bytecode manipulation library"
|
|
HOMEPAGE="http://biojava.org"
|
|
SRC_URI="https://dev.gentoo.org/~serkan/distfiles/${P}.tar.bz2"
|
|
# svn export svn://code.open-bio.org/biojava/bytecode/trunk -r {20081007}
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=virtual/jre-1.4"
|
|
DEPEND=">=virtual/jdk-1.4"
|
|
|
|
JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
|
|
EANT_BUILD_TARGET="package"
|
|
EANT_DOC_TARGET="javadocs"
|
|
|
|
src_prepare() {
|
|
mkdir {tests,demos,resources} || die
|
|
}
|
|
|
|
src_install() {
|
|
java-pkg_dojar ant-build/${PN}.jar
|
|
use doc && java-pkg_dojavadoc ant-build/docs
|
|
use source && java-pkg_dosrc src/org
|
|
}
|