/[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.1 - (show annotations) (download)
Tue Jan 24 15:30:49 2012 UTC (2 years, 2 months ago) by sera
Branch: MAIN
Version bump, add javadocs.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jcodings/jcodings-1.0.4.ebuild,v 1.5 2010/05/28 19:50:31 josejx Exp $
4
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 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
18 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