/[gentoo-x86]/dev-java/jnr-unixsocket/jnr-unixsocket-0.6.ebuild
Gentoo

Contents of /dev-java/jnr-unixsocket/jnr-unixsocket-0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 17 17:14:09 2015 UTC (4 years, 7 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Stable for x86+amd64 through ALLARCHES. Remove old. Fix bug 552362.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-unixsocket/jnr-unixsocket-0.6.ebuild,v 1.1 2015/04/16 13:34:32 monsieurp Exp $
4
5 EAPI="5"
6
7 JAVA_PKG_IUSE="doc examples source test"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="Unix sockets for Java"
12 SRC_URI="http://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 HOMEPAGE="https://github.com/jnr/jnr-unixsocket"
14
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 LICENSE="Apache-2.0"
18
19 CDEPEND="dev-java/jnr-constants:0
20 dev-java/jnr-enxio:0
21 dev-java/jnr-posix:3.0
22 dev-java/jnr-ffi:0.7"
23
24 DEPEND="${CDEPEND}
25 >=virtual/jdk-1.6"
26
27 RDEPEND="${CDEPEND}
28 >=virtual/jre-1.6"
29
30 java_prepare() {
31 cp "${FILESDIR}"/${P}-build.xml build.xml || die
32 }
33
34 JAVA_ANT_REWRITE_CLASSPATH="true"
35 EANT_GENTOO_CLASSPATH="jnr-constants,jnr-enxio,jnr-ffi-0.7,jnr-posix-3.0"
36
37 src_install() {
38 java-pkg_newjar target/${P}.jar ${PN}.jar
39
40 use source && java-pkg_dosrc src/main/java/jnr
41 use examples && java-pkg_doexamples src/main/java/jnr/unixsocket/example
42 use doc && java-pkg_dojavadoc target/site/apidocs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20