summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/btf')
-rw-r--r--dev-java/btf/Manifest1
-rw-r--r--dev-java/btf/btf-1.2.ebuild38
-rw-r--r--dev-java/btf/metadata.xml12
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/btf/Manifest b/dev-java/btf/Manifest
new file mode 100644
index 000000000000..5fa25e09a2d7
--- /dev/null
+++ b/dev-java/btf/Manifest
@@ -0,0 +1 @@
+DIST btf-1.2.tar.gz 66887 SHA256 d7b1b8798edb73f5781dc54952d47a9e9df7a1257cb269cbaff8752b6261c104 SHA512 ba70eea4370f090bf0295c9ac9907869a6bff62dc6ff86a443a887413f0c0fbb5c12924df6166b8ecd2348ee6bad409d954a16fe5a4a4695492f47a486e35acd WHIRLPOOL 3c37a16f3708e8856ae60f04b832213571fc47460ff01a7bfd3dddbeef63fb491e68ab406bb14a405c18b701297594c684a59194eb6c81e3b821a7fb6bce53af
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/*
+}
diff --git a/dev-java/btf/metadata.xml b/dev-java/btf/metadata.xml
new file mode 100644
index 000000000000..3987330002b7
--- /dev/null
+++ b/dev-java/btf/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription>Generic interfaces to the classical builder pattern and the less classical "freeze/thaw" pattern</longdescription>
+ <upstream>
+ <remote-id type="github">fge/btf</remote-id>
+ </upstream>
+</pkgmetadata>