/[gentoo-x86]/dev-java/jcodings/jcodings-1.0.5.ebuild
Gentoo

Contents of /dev-java/jcodings/jcodings-1.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed May 9 17:08:50 2012 UTC (2 years, 2 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #396305

(Portage version: 2.1.10.49/cvs/Linux i686)

1 sera 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 phajdan.jr 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jcodings/jcodings-1.0.5.ebuild,v 1.2 2012/04/30 10:46:37 ago Exp $
4 sera 1.1
5     EAPI="4"
6    
7     JAVA_PKG_IUSE="doc source"
8    
9     inherit java-pkg-2 java-ant-2
10    
11     DESCRIPTION="Byte-based encoding support library for Java"
12     HOMEPAGE="http://jruby.codehaus.org/"
13     SRC_URI="http://github.com/jruby/${PN}/tarball/${PV} -> ${P}-git.tar.gz"
14    
15     LICENSE="MIT"
16     SLOT="0"
17 phajdan.jr 1.3 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-solaris"
18 sera 1.1 IUSE=""
19    
20     RDEPEND=">=virtual/jre-1.5"
21     DEPEND=">=virtual/jdk-1.5"
22    
23     src_unpack() {
24     default
25     mv jruby-${PN}-* ${P} || die
26     }
27    
28     java_prepare() {
29     cp "${FILESDIR}"/maven-build.xml build.xml || die
30     }
31    
32     src_install() {
33     java-pkg_dojar target/${PN}.jar
34    
35     use doc && java-pkg_dojavadoc target/site/apidocs
36     use source && java-pkg_dosrc src/*
37     }

  ViewVC Help
Powered by ViewVC 1.1.20