summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-20 00:27:19 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-20 01:12:05 +0000
commiteb4bbed007d82502dba4e1a36181adc23ab69be3 (patch)
tree394a2ee3109fcc743e129cdd30dc3563902fdd88 /dev-java/jzlib
parentsys-kernel/gentoo-sources: Linux patch 3.10.97 (diff)
downloadgentoo-eb4bbed007d82502dba4e1a36181adc23ab69be3.tar.gz
gentoo-eb4bbed007d82502dba4e1a36181adc23ab69be3.tar.bz2
gentoo-eb4bbed007d82502dba4e1a36181adc23ab69be3.zip
dev-java/jzlib: EAPI 5 bump. Switch to java-pkg-simple.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/jzlib')
-rw-r--r--dev-java/jzlib/jzlib-1.0.7-r2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/jzlib/jzlib-1.0.7-r2.ebuild b/dev-java/jzlib/jzlib-1.0.7-r2.ebuild
new file mode 100644
index 000000000000..2109d3e16446
--- /dev/null
+++ b/dev-java/jzlib/jzlib-1.0.7-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JZlib is a re-implementation of zlib in pure Java"
+HOMEPAGE="http://www.jcraft.com/jzlib/"
+SRC_URI="http://www.jcraft.com/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+DEPEND="
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="com"
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README ChangeLog
+ use examples && java-pkg_doexamples example
+}