summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-11-03 21:17:05 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-11-03 21:17:22 +0100
commitab4ce76c8ac4c4f5e630b5f621afb40dff55ad0a (patch)
treef9cd0a6510ff5c4388f46d28207fc328c759cb03 /dev-util/japi-compliance-checker
parentwww-apps/klaus: remove old (diff)
downloadgentoo-ab4ce76c8ac4c4f5e630b5f621afb40dff55ad0a.tar.gz
gentoo-ab4ce76c8ac4c4f5e630b5f621afb40dff55ad0a.tar.bz2
gentoo-ab4ce76c8ac4c4f5e630b5f621afb40dff55ad0a.zip
dev-util/japi-compliance-checker: new ebuild
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-util/japi-compliance-checker')
-rw-r--r--dev-util/japi-compliance-checker/Manifest1
-rw-r--r--dev-util/japi-compliance-checker/japi-compliance-checker-2.4.ebuild28
-rw-r--r--dev-util/japi-compliance-checker/japi-compliance-checker-9999.ebuild30
-rw-r--r--dev-util/japi-compliance-checker/metadata.xml9
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-util/japi-compliance-checker/Manifest b/dev-util/japi-compliance-checker/Manifest
new file mode 100644
index 000000000000..3e441d0827f0
--- /dev/null
+++ b/dev-util/japi-compliance-checker/Manifest
@@ -0,0 +1 @@
+DIST japi-compliance-checker-2.4.tar.gz 80249 BLAKE2B fe3eca473d5c7a25ca8e4afb104e498b4c71cf0a0280ca4f5c98c1ea742883de0c883053359e4211e0e2781542b85a92f42ffd48db76d27e15eeb868bc80c3a9 SHA512 53ec4d67478627cc08bd98f76b3d6600e29e71752863c38ba717c7e40432081f32933cd0a68c51dbbd3179bcbbfb7d356996038d4068299a6e2ad2f4e2ff1913
diff --git a/dev-util/japi-compliance-checker/japi-compliance-checker-2.4.ebuild b/dev-util/japi-compliance-checker/japi-compliance-checker-2.4.ebuild
new file mode 100644
index 000000000000..c2ef8ddb652d
--- /dev/null
+++ b/dev-util/japi-compliance-checker/japi-compliance-checker-2.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Java API compliance checker"
+HOMEPAGE="https://github.com/lvc/japi-compliance-checker"
+SRC_URI="https://github.com/lvc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=dev-lang/perl-5"
+RDEPEND="${DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+src_compile() {
+ :
+}
+
+PREFIX="/usr"
+
+src_install() {
+ mkdir -p "${D}${PREFIX}"
+ perl Makefile.pl -install --destdir "${D}" || die "install failed"
+}
diff --git a/dev-util/japi-compliance-checker/japi-compliance-checker-9999.ebuild b/dev-util/japi-compliance-checker/japi-compliance-checker-9999.ebuild
new file mode 100644
index 000000000000..0c12532893d7
--- /dev/null
+++ b/dev-util/japi-compliance-checker/japi-compliance-checker-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="Java API compliance checker"
+HOMEPAGE="https://github.com/lvc/japi-compliance-checker"
+EGIT_REPO_URI="https://github.com/lvc/japi-compliance-checker.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND=">=dev-lang/perl-5"
+RDEPEND="${DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+src_compile() {
+ :
+}
+
+PREFIX="/usr"
+
+src_install() {
+ mkdir -p "${D}${PREFIX}"
+ perl Makefile.pl -install --destdir "${D}" || die "install failed"
+}
diff --git a/dev-util/japi-compliance-checker/metadata.xml b/dev-util/japi-compliance-checker/metadata.xml
new file mode 100644
index 000000000000..30007d86dcd9
--- /dev/null
+++ b/dev-util/japi-compliance-checker/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>fordfrog@gentoo.org</email>
+ <description>Miroslav Šulc</description>
+</maintainer>
+<longdescription>A tool for checking backward API/ABI compatibility of a Java library</longdescription>
+</pkgmetadata>