dev-java/laf-plugin: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 24 Mar 2017 19:02:17 +0000 (20:02 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 25 Mar 2017 17:44:02 +0000 (18:44 +0100)
This commit also add a SLOT to laf-plugin.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild [new file with mode: 0644]

diff --git a/dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild b/dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..0c34f87
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Look'n'feel Java library"
+HOMEPAGE="http://laf-plugin.dev.java.net"
+SRC_URI="https://repo1.maven.org/maven2/net/java/dev/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/nanoxml:0"
+
+DEPEND="
+       ${CDEPEND}
+       >=virtual/jdk-1.6"
+
+RDEPEND="
+       ${CDEPEND}
+       >=virtual/jre-1.6"
+
+JAVA_GENTOO_CLASSPATH="nanoxml"
+
+src_prepare() {
+       default
+       java-pkg_clean
+}
+
+src_install() {
+       java-pkg-simple_src_install
+}