diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-07-01 09:36:45 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-07-01 09:36:45 +0000 |
commit | 3ac10b99cec8594f017202bb9c5bc2ebc3209201 (patch) | |
tree | df74becb90f28299b3f4853602872fa3ab075e47 | |
parent | Fix up dbus deps wrt bug 183696 (diff) | |
download | historical-3ac10b99cec8594f017202bb9c5bc2ebc3209201.tar.gz historical-3ac10b99cec8594f017202bb9c5bc2ebc3209201.tar.bz2 historical-3ac10b99cec8594f017202bb9c5bc2ebc3209201.zip |
Adding new version of javacup. Thanks to all the great work from elvanor <elvanor2007@gmail.com> with cleanup and fixes from Caster <caster@gentoo.org>
Package-Manager: portage-2.1.3_rc6
-rw-r--r-- | dev-java/javacup/Manifest | 18 | ||||
-rw-r--r-- | dev-java/javacup/files/digest-javacup-0.11a_beta20060608 | 3 | ||||
-rw-r--r-- | dev-java/javacup/javacup-0.11a_beta20060608.ebuild | 59 |
3 files changed, 70 insertions, 10 deletions
diff --git a/dev-java/javacup/Manifest b/dev-java/javacup/Manifest index 63934bc04abf..a9f29d94480d 100644 --- a/dev-java/javacup/Manifest +++ b/dev-java/javacup/Manifest @@ -1,11 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST java_cup_v10k.tar.gz 190843 RMD160 317c764f8567240439243fd2d40b54fcaed2b96e SHA1 79fda6316d3bbb9fee7dbd28301ca973abf140ff SHA256 7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd +DIST javacup-0.11a_beta20060608.tar.bz2 285727 RMD160 232a13874313242eb8b904267c528ca6111031f8 SHA1 1c5d6b910d8ae5889d98b101151efce857e9da7f SHA256 cb3ad4951d734bd1e5a6ff835018dea26a47564f820ae0a925f9c30f2fb7e1ff EBUILD javacup-0.10k-r1.ebuild 955 RMD160 15b85f115b50831e4b3542cee909526f5586539c SHA1 ddfd6d528cf384b74f518686287b4081b5309e15 SHA256 684ea0f04f1b61e4b22750d6060c3c507760e950977390be14cde533876b82a8 MD5 16a97e9b41a50d4d10fab7c8628411a7 javacup-0.10k-r1.ebuild 955 RMD160 15b85f115b50831e4b3542cee909526f5586539c javacup-0.10k-r1.ebuild 955 SHA256 684ea0f04f1b61e4b22750d6060c3c507760e950977390be14cde533876b82a8 javacup-0.10k-r1.ebuild 955 +EBUILD javacup-0.11a_beta20060608.ebuild 1608 RMD160 fa2b3535b9c907642a4573077b483cc82dc0d77f SHA1 b2c18d5b1f5b2694e009b05e362a927cb95022af SHA256 ba2fa7ce09823d4ea3fdb5e28f06e029ccc7e5abbccd4d3371e94100a6ef26e2 +MD5 1a8cee7651b910fb7174094fbbccf2b3 javacup-0.11a_beta20060608.ebuild 1608 +RMD160 fa2b3535b9c907642a4573077b483cc82dc0d77f javacup-0.11a_beta20060608.ebuild 1608 +SHA256 ba2fa7ce09823d4ea3fdb5e28f06e029ccc7e5abbccd4d3371e94100a6ef26e2 javacup-0.11a_beta20060608.ebuild 1608 MISC ChangeLog 2664 RMD160 01fba98c5973cc2cd9ad73e76853bc5d54803dcf SHA1 4c4f0df270ff333b33f2da66e3a1ce1e271253bb SHA256 8061f1a90d7ab8e66050bf71344f31714bf93b9a7a3666630d0083dbcaab2c6e MD5 de7dca72f335cf865e7ac95fed5c30ac ChangeLog 2664 RMD160 01fba98c5973cc2cd9ad73e76853bc5d54803dcf ChangeLog 2664 @@ -17,10 +19,6 @@ SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata MD5 8be4d224271b129fd33bf235cbbce58a files/digest-javacup-0.10k-r1 241 RMD160 1ef0f9d46fce4cb03e1851a2a1bbab426f6c89d1 files/digest-javacup-0.10k-r1 241 SHA256 d7c6dc2675f1e1616fc9aa35b2e59e1d4a13a632d96745e1b0e2c17465cb1253 files/digest-javacup-0.10k-r1 241 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGeWKBcxLzpIGCsLQRAoV9AJ0SfiCn7pQjdSVWlP4Yi8QoSvIR7wCeI2kD -ZwiTyHWN8aIjczT2j5hS4+Y= -=rQJ4 ------END PGP SIGNATURE----- +MD5 e9af7b8b84669dc57a3dc3b531aaf4f8 files/digest-javacup-0.11a_beta20060608 283 +RMD160 b9d3b0b45fbcdd235fa5ccfdaa00a0b6d785d051 files/digest-javacup-0.11a_beta20060608 283 +SHA256 5d9a2e10c878ac30096bb0a46e35f8caefec31fa999f5ab5dd7465a87d1a6fc9 files/digest-javacup-0.11a_beta20060608 283 diff --git a/dev-java/javacup/files/digest-javacup-0.11a_beta20060608 b/dev-java/javacup/files/digest-javacup-0.11a_beta20060608 new file mode 100644 index 000000000000..d4fb8297b0cd --- /dev/null +++ b/dev-java/javacup/files/digest-javacup-0.11a_beta20060608 @@ -0,0 +1,3 @@ +MD5 c44a3359c0ad473bdcb1f350425e6feb javacup-0.11a_beta20060608.tar.bz2 285727 +RMD160 232a13874313242eb8b904267c528ca6111031f8 javacup-0.11a_beta20060608.tar.bz2 285727 +SHA256 cb3ad4951d734bd1e5a6ff835018dea26a47564f820ae0a925f9c30f2fb7e1ff javacup-0.11a_beta20060608.tar.bz2 285727 diff --git a/dev-java/javacup/javacup-0.11a_beta20060608.ebuild b/dev-java/javacup/javacup-0.11a_beta20060608.ebuild new file mode 100644 index 000000000000..6125c19a46f4 --- /dev/null +++ b/dev-java/javacup/javacup-0.11a_beta20060608.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/javacup-0.11a_beta20060608.ebuild,v 1.1 2007/07/01 09:36:45 ali_bush Exp $ + +JAVA_PKG_IUSE="source doc" +WANT_SPLIT_ANT="true" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="CUP Parser Generator for Java" + +HOMEPAGE="http://www2.cs.tum.edu/projects/cup/" + +# We cannot put the actual SRC_URI because it causes conflicts with Gentoo mirroring system +# No better URI is available, waiting until it hits actual Gentoo mirrors + +#SRC_URI="https://www2.in.tum.de/WebSVN/dl.php?repname=CUP&path=/develop/&rev=0&isdir=1" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/ant-core-1.7.0" + +src_unpack() { + unpack ${A} + cd ${S} + find . -name "*.class" -exec rm -f {} \; + java-ant_rewrite-classpath +} + +src_compile() { + ANT_TASKS="none" + eant -Dgentoo.classpath="$(java-pkg_getjars ant-core)" + rm bin/java-cup-11.jar + cp dist/java-cup-11a.jar bin/java-cup-11.jar + eant clean + einfo "Recompiling with newly generated javacup" + eant -Dgentoo.classpath="$(java-pkg_getjars ant-core)" + use doc && javadoc -sourcepath src/ java_cup -d javadoc +} + +src_install() { + java-pkg_newjar dist/java-cup-11a.jar + java-pkg_newjar dist/java-cup-11a-runtime.jar ${PN}-runtime.jar + java-pkg_register-ant-task + + dodoc changelog.txt || die + dohtml manual.html || die + use source && java-pkg_dosrc java/* + use doc && java-pkg_dojavadoc javadoc +} + + + |