/[gentoo-x86]/dev-java/jnr-x86asm/jnr-x86asm-1.0.2.ebuild
Gentoo

Contents of /dev-java/jnr-x86asm/jnr-x86asm-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Aug 10 20:19:04 2014 UTC (5 weeks, 1 day ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-x86asm/jnr-x86asm-1.0.2.ebuild,v 1.4 2012/08/09 21:29:26 johu Exp $
4
5 EAPI="4"
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2 vcs-snapshot
10
11 DESCRIPTION="A pure-java port of asmjit"
12 HOMEPAGE="https://github.com/jnr/jnr-x86asm"
13 SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
14
15 LICENSE="MIT"
16 SLOT="1.0"
17 KEYWORDS="amd64 x86"
18 IUSE=""
19
20 RDEPEND=">=virtual/jre-1.5"
21 DEPEND=">=virtual/jdk-1.5"
22
23 java_prepare() {
24 cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
25 }
26
27 JAVA_ANT_ENCODING="UTF-8"
28
29 EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
30
31 src_install() {
32 java-pkg_newjar target/${PN}.jar
33
34 use doc && java-pkg_dojavadoc target/site/apidocs
35 use source && java-pkg_dosrc src/main/java/*
36 }

  ViewVC Help
Powered by ViewVC 1.1.20