summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-12-18 10:15:17 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-12-18 16:32:25 +0000
commit002db745041cb9f3907f83760d90fb2e2e054bb3 (patch)
tree10ea41cf7aaf67a9d58b17fd32362893b265eac0
parentdev-java/jnr-x86asm: Clean up old. (diff)
downloadgentoo-002db745041cb9f3907f83760d90fb2e2e054bb3.tar.gz
gentoo-002db745041cb9f3907f83760d90fb2e2e054bb3.tar.bz2
gentoo-002db745041cb9f3907f83760d90fb2e2e054bb3.zip
dev-java/jaffl: Stable for amd64. Retroactively mark stable for the remaining arches using the ALLARCHES policy.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--dev-java/jaffl/jaffl-0.5.11-r1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-java/jaffl/jaffl-0.5.11-r1.ebuild b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
index 86000873696c..fe2b74670f79 100644
--- a/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
+++ b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
CDEPEND="
dev-java/asm:3
@@ -39,6 +39,11 @@ DEPEND="
JAR_VERSION=$(get_version_component_range 1-2)
+PATCHES=(
+ "${FILESDIR}"/${P}-library-path.patch
+ "${FILESDIR}"/${P}-GNUmakefile.patch
+)
+
src_unpack() {
default
mv * "${P}" || die
@@ -48,8 +53,7 @@ java_prepare() {
# Don't choke on errors from generating the Javadoc
cd "${S}" || die
- epatch "${FILESDIR}"/${P}-library-path.patch
- epatch "${FILESDIR}"/${P}-GNUmakefile.patch
+ epatch "${PATCHES[@]}"
rm -vf lib/{.,junit*}/*.jar || die
@@ -83,7 +87,7 @@ src_test() {
}
src_install() {
- java-pkg_newjar dist/${PN}-${JAR_VERSION}.jar
+ java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*