diff options
author | Austin English <wizardedit@gentoo.org> | 2016-06-17 12:54:53 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-06-17 12:55:20 -0500 |
commit | af10ebd8a8c973d20e9549007019a75c4147b8d8 (patch) | |
tree | afb088f6f68d0f208c33ab26b2b587701a7d7da7 /dev-java/btf/btf-1.2.ebuild | |
parent | dev-vcs/darcs: simplify ranged depend as we don't have transformers-0.4.0.0 i... (diff) | |
download | gentoo-af10ebd8a8c973d20e9549007019a75c4147b8d8.tar.gz gentoo-af10ebd8a8c973d20e9549007019a75c4147b8d8.tar.bz2 gentoo-af10ebd8a8c973d20e9549007019a75c4147b8d8.zip |
dev-java/btf: initial ebuild
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java/btf/btf-1.2.ebuild')
-rw-r--r-- | dev-java/btf/btf-1.2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/btf/btf-1.2.ebuild b/dev-java/btf/btf-1.2.ebuild new file mode 100644 index 000000000000..21f7209b79b5 --- /dev/null +++ b/dev-java/btf/btf-1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Generic interfaces to the classical builder pattern" +HOMEPAGE="https://github.com/fge/btf/" +SRC_URI="https://github.com/fge/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( LGPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEP=" + dev-java/jsr305:0 +" + +RDEPEND=" + ${COMMON_DEP} + >=virtual/jre-1.7 +" + +DEPEND=" + ${COMMON_DEP} + >=virtual/jdk-1.7 +" + +JAVA_GENTOO_CLASSPATH="jsr305" + +src_install() { + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/* +} |