From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GIF4X-0005Ns-H0 for garchives@archives.gentoo.org; Wed, 30 Aug 2006 01:40:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7U1dc7l001773; Wed, 30 Aug 2006 01:39:38 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7U1dadR031989 for ; Wed, 30 Aug 2006 01:39:37 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 88C07645C2 for ; Wed, 30 Aug 2006 01:39:36 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29875-05 for ; Wed, 30 Aug 2006 01:39:34 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by smtp.gentoo.org (Postfix) with ESMTP id 2FD14643A7 for ; Wed, 30 Aug 2006 01:39:33 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id s19so33403wxc for ; Tue, 29 Aug 2006 18:39:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:subject:message-id:mime-version:content-type:content-disposition:user-agent:from; b=AxfPhC0y9KgzOU66vXmOYicwtSZV4sl+cId3aHJZYivGdwewl7TDLicFJ5Skpm+I0p5m3rXbxwMjaZRWuxtutLJBdHUMCU4ygefNEJXj0aFac/jMT8dxIxEEDYqu7osQP4mhou6pMnsl4r1IU79LRNCRxjg4DoGHis9hizb8NYk= Received: by 10.70.100.14 with SMTP id x14mr407460wxb; Tue, 29 Aug 2006 18:39:33 -0700 (PDT) Received: from localhost ( [12.5.49.172]) by mx.gmail.com with ESMTP id i10sm135048wxd.2006.08.29.18.39.26; Tue, 29 Aug 2006 18:39:33 -0700 (PDT) Date: Tue, 29 Aug 2006 21:39:13 -0400 To: gentoo-java@lists.gentoo.org Subject: [gentoo-java] new jruby ebuild Message-ID: <20060830013824.GA9966@oak> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) From: Sean McEligot X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-1.807 required=5.5 tests=[AWL=0.439, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, TW_JR=0.077, TW_JV=0.077] X-Spam-Score: -1.807 X-Spam-Level: X-Archives-Salt: 4df17bb3-6feb-4422-8fb5-52adfd1cd386 X-Archives-Hash: 2087f11b6ce1f5ce59799ef87f08c8c0 I updated the jruby ebuild for my first gentoo project. It's nearly complete. I just have to test a few things. I added /usr/bin/jruby and /usr/bin/jirb and some others. I also added /usr/share/jruby. I also created an ebuild for jvyaml, a new dependancy in jruby. I tried to contact the last maintainer (luckyduck@gentoo.org) but the email bounced. I'd like to get some help checking over my work. I'd also like to know the steps involved to get this into main. Here's the ebuilds: == jruby-0.9.0.ebuild == # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/jruby-0.7.0-r1.ebuild,v 1.3 2005/07/16 14:28:28 axxo Exp $ inherit base java-pkg-2 DESCRIPTION="Java based ruby interpreter implementation" HOMEPAGE="http://jruby.sourceforge.net/" SRC_URI="mirror://sourceforge/jruby/${PN}-src-${PV}.tar.gz" #SRC_URI="http://dist.codehaus.org/jruby/jruby-src-${PV}.tar.gz KEYWORDS="x86 amd64" LICENSE="GPL-2" SLOT="0" IUSE="doc examples jikes junit source" RDEPEND=">=virtual/jre-1.4 =dev-java/jvyaml-0.1* =dev-java/bsf-2.3* =dev-java/jakarta-oro-2.0* =dev-java/gnu-regexp-1.1*" DEPEND=">=virtual/jdk-1.4 ${RDEPEND} >=dev-java/ant-1.4 jikes? ( dev-java/jikes ) junit? ( dev-java/junit ) source? ( app-arch/zip )" src_unpack() { unpack ${A} cd ${S}/lib rm -rf *.jar java-pkg_jar-from bsf-2.3 java-pkg_jar-from jakarta-oro-2.0 java-pkg_jar-from gnu-regexp-1 java-pkg_jar-from jvyaml use junit && java-pkg_jar-from junit } src_compile() { local antflags="jar" use doc && antflags="${antflags} create-apidocs" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" use junit && antflags="${antflags} test" ant ${antflags} || die "Compile Failed" } src_install() { java-pkg_dojar ${S}/lib/jruby.jar use doc && java-pkg_dohtml -r docs/api/* if use examples; then dodir /usr/share/doc/${PF}/examples cp -r samples/* ${D}/usr/share/doc/${PF}/examples fi use source && java-pkg_dosrc src/org java-pkg_dolauncher jruby \ --main 'org.jruby.Main' \ --java_args '-Djruby.base=/usr/share/jruby -Djruby.home=/usr/share/jruby -Djruby.lib=/usr/share/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh' insinto /usr/share/${PN} doins -r lib exeinto /usr/bin newexe ${S}/bin/gem jgem newexe ${S}/bin/gem_server jgem_server newexe ${S}/bin/gemlock jgem_lock newexe ${S}/bin/gemri jgemri newexe ${S}/bin/gemwhich jgemwhich newexe ${S}/bin/update_rubygems jupdate_rubygems newexe ${S}/bin/generate_yaml_index.rb jgenerate_yaml_index.rb newexe ${S}/bin/index_gem_repository.rb jindex_gem_repository.rb doexe ${S}/bin/jirb } == jvyaml-0.1.ebuild == # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ inherit java-pkg-2 java-ant-2 eutils DESCRIPTION="Java YAML parser and emitter" HOMEPAGE="https://jvyaml.dev.java.net/" SRC_URI="https://${PN}.dev.java.net/files/documents/5215/35811/${PN}-src-${PV}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="doc examples source" DEPEND=">=virtual/jdk-1.3 sys-apps/sed dev-java/ant-core source? ( app-arch/zip )" RDEPEND=">=virtual/jre-1.3" S="${WORKDIR}/${PN}-${PV}" src_unpack() { unpack ${A} } src_compile() { local antflags="jar" use doc && antflags="${antflags} javadoc" eant ${antflags} || die "compilation failed" } src_install() { java-pkg_dojar lib/${PN}.jar if use doc; then dodoc README java-pkg_dohtml -r www/* java-pkg_dohtml -r doc/api fi use source && java-pkg_dosrc src/* #newenvd ${FILESDIR}/jvyaml-${PV} 22jvyaml } -- gentoo-java@gentoo.org mailing list