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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (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.4: +1 -1 lines
FILE REMOVED
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.3.ebuild,v 1.4 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-ffi:0.7"
22
23 DEPEND="${CDEPEND}
24 >=virtual/jdk-1.5"
25
26 RDEPEND="${CDEPEND}
27 >=virtual/jre-1.5"
28
29 java_prepare() {
30 cp "${FILESDIR}"/${P}-build.xml build.xml || die
31 }
32
33 JAVA_ANT_REWRITE_CLASSPATH="true"
34 EANT_GENTOO_CLASSPATH="jnr-constants,jnr-enxio,jnr-ffi-0.7"
35
36 src_install() {
37 java-pkg_newjar target/${P}.jar ${PN}.jar
38
39 use source && java-pkg_dosrc src/main/java/jnr
40 use examples && java-pkg_doexamples src/main/java/jnr/unixsocket/example
41 use doc && java-pkg_dojavadoc target/site/apidocs
42 }

  ViewVC Help
Powered by ViewVC 1.1.20