Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jnr-x86asm: metadata.xml ChangeLog jnr-x86asm-0.1.ebuild
Date: Thu, 03 Jun 2010 09:34:53
Message-Id: 20100603093450.882F72CF3E@corvid.gentoo.org
1 ali_bush 10/06/03 09:34:50
2
3 Added: metadata.xml ChangeLog jnr-x86asm-0.1.ebuild
4 Log:
5 Add new package.
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-java/jnr-x86asm/metadata.xml
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>java</herd>
20 </pkgmetadata>
21
22
23
24
25 1.1 dev-java/jnr-x86asm/ChangeLog
26
27 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/ChangeLog?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/ChangeLog?rev=1.1&content-type=text/plain
29
30 Index: ChangeLog
31 ===================================================================
32 # ChangeLog for dev-java/jnr-x86asm
33 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
34 # $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-x86asm/ChangeLog,v 1.1 2010/06/03 09:34:50 ali_bush Exp $
35
36 *jnr-x86asm-0.1 (03 Jun 2010)
37
38 03 Jun 2010; Alistair Bush <ali_bush@g.o> +jnr-x86asm-0.1.ebuild,
39 +metadata.xml:
40 Add new package.
41
42
43
44
45 1.1 dev-java/jnr-x86asm/jnr-x86asm-0.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/jnr-x86asm-0.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-x86asm/jnr-x86asm-0.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: jnr-x86asm-0.1.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-x86asm/jnr-x86asm-0.1.ebuild,v 1.1 2010/06/03 09:34:50 ali_bush Exp $
55
56 EAPI=3
57
58 JAVA_PKG_IUSE="doc source"
59 WANT_ANT_TASKS="ant-nodeps"
60
61 inherit java-pkg-2 java-ant-2
62
63 DESCRIPTION="A pure-java port of asmjit."
64 HOMEPAGE="http://github.com/wmeissner/jnr-x86asm/"
65 SRC_URI="http://github.com/wmeissner/${PN}/tarball/0.1 -> ${P}.tar.gz"
66
67 LICENSE="LGPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64"
70
71 IUSE=""
72
73 COMMON_DEP=""
74
75 RDEPEND=">=virtual/jre-1.5
76 ${COMMON_DEP}"
77 DEPEND=">=virtual/jdk-1.5
78 app-arch/unzip
79 ${COMMON_DEP}"
80
81 src_unpack() {
82 unpack ${A}
83 cd "${WORKDIR}" || die
84 mv w* "${P}" || die
85 }
86
87 src_install() {
88 java-pkg_dojar "dist/${PN}.jar"
89 use doc && java-pkg_dojavadoc dist/javadoc
90 use source && java-pkg_dosrc src
91 }