Migrated and improved (added source USE flag) by Alistair Bush <alistair.bush@gmail...
authorMiroslav Šulc <fordfrog@gentoo.org>
Tue, 30 Jan 2007 10:31:00 +0000 (10:31 +0000)
committerMiroslav Šulc <fordfrog@gentoo.org>
Tue, 30 Jan 2007 10:31:00 +0000 (10:31 +0000)
Package-Manager: portage-2.1.2-r5

dev-java/jlex/ChangeLog
dev-java/jlex/Manifest
dev-java/jlex/files/digest-jlex-1.2.6
dev-java/jlex/files/digest-jlex-1.2.6-r1 [new file with mode: 0644]
dev-java/jlex/jlex-1.2.6-r1.ebuild [new file with mode: 0644]

index c722fa8ccd52614b642cecbfc77b1a51a47323ff..f70bcb0086283b1cf836a650f67c3bbc7d866aa5 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/jlex
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jlex/ChangeLog,v 1.9 2006/10/05 17:43:32 gustavoz Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jlex/ChangeLog,v 1.10 2007/01/30 10:31:00 fordfrog Exp $
+
+*jlex-1.2.6-r1 (30 Jan 2007)
+
+  30 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org> +jlex-1.2.6-r1.ebuild:
+  Migrated and improved (added source USE flag) by Alistair Bush
+  <alistair.bush@gmail.com>, I did just minor corrections to the ebuild.
 
   05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> jlex-1.2.6.ebuild:
   Dropping sparc keywords, see #96229
index 65c08c0dac6372e387ce2f0dc608ca067b8adcc6..4693ccae8a9a49eea269d7361d5e7b96eb32e6b5 100644 (file)
@@ -1,26 +1,23 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST jlex-1.2.6.tar.bz2 45868
+DIST jlex-1.2.6.tar.bz2 45868 RMD160 349fa7a7e80aec35f09fda6501572362b1927225 SHA1 8c423253d8875aff7f247b6ec18b9347360a9c21 SHA256 8367edecc3f31f0f55d6b1d92146d6ca9eeaf76de5eb0ff8614a0a2e38e4a2b5
+EBUILD jlex-1.2.6-r1.ebuild 883 RMD160 c16d627f7876dfbe12bb5fbb6543ca04a14e6e12 SHA1 540127aea987866359c9a38bde15f695500ab297 SHA256 ce689ea847e3de341305b682a6d4d731eb42e3a6cb93c7974ebfebace501502d
+MD5 4e20220350d35854a72a7a190b4cdcbb jlex-1.2.6-r1.ebuild 883
+RMD160 c16d627f7876dfbe12bb5fbb6543ca04a14e6e12 jlex-1.2.6-r1.ebuild 883
+SHA256 ce689ea847e3de341305b682a6d4d731eb42e3a6cb93c7974ebfebace501502d jlex-1.2.6-r1.ebuild 883
 EBUILD jlex-1.2.6.ebuild 824 RMD160 a5d4e470c5f5fa7d1f3a0c2feb8eb1ccbc1e6497 SHA1 0db3ba69f4d25330859a291423bfaeb081c25db0 SHA256 509998c299e6256df2c563e5cc295043bf7ded994edf0f86e5fada7ce0540790
 MD5 2b41776c5c07c79b6d6143cde5716e75 jlex-1.2.6.ebuild 824
 RMD160 a5d4e470c5f5fa7d1f3a0c2feb8eb1ccbc1e6497 jlex-1.2.6.ebuild 824
 SHA256 509998c299e6256df2c563e5cc295043bf7ded994edf0f86e5fada7ce0540790 jlex-1.2.6.ebuild 824
-MISC ChangeLog 1016 RMD160 618d953828a68f444cc5f364147cbe54d51d971a SHA1 68477431e3322e35b2aa044addde505194886007 SHA256 860bf1b00a380730946359f68f5ce4f641691a6f8623db2c890ee8f4d93f3496
-MD5 69a988ff1dc239405c2f02cd504bb86d ChangeLog 1016
-RMD160 618d953828a68f444cc5f364147cbe54d51d971a ChangeLog 1016
-SHA256 860bf1b00a380730946359f68f5ce4f641691a6f8623db2c890ee8f4d93f3496 ChangeLog 1016
+MISC ChangeLog 1261 RMD160 64278f8f9af1732c9c47707b199add940fb14c1d SHA1 1a1202c54d27393f428401aae31ba8804c1827a5 SHA256 c331fdd6d0157bf3947fe1a8329ff5a0eafef51fa380f3c7b988c5f851b784e9
+MD5 2e2d6308ea9fcec64db88860ee831d0b ChangeLog 1261
+RMD160 64278f8f9af1732c9c47707b199add940fb14c1d ChangeLog 1261
+SHA256 c331fdd6d0157bf3947fe1a8329ff5a0eafef51fa380f3c7b988c5f851b784e9 ChangeLog 1261
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
-MD5 f3996bcc26d0e320c2b99f0d4fcae2a8 files/digest-jlex-1.2.6 62
-RMD160 42f78fa39b8f2e5054d1cc3cfe8dfc22d06931c9 files/digest-jlex-1.2.6 62
-SHA256 320957b62a8ab79fce90590fe1847a4ee6a60181337ddf39f3b4eddb487c7408 files/digest-jlex-1.2.6 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFFJURZKRy60XGEcJIRAhFNAKCgBnEExp7A9Em64ByNYlfGui1sDACfUoxd
-ww3c7JcgPYZu9xAS45gV/a0=
-=Cr9c
------END PGP SIGNATURE-----
+MD5 68b12062c3663c62e39586a092819d77 files/digest-jlex-1.2.6 232
+RMD160 8a2123134f9146e422c84e05f38749fbe162c894 files/digest-jlex-1.2.6 232
+SHA256 7cdc273300395242ec9f31bfc9f50ce06c81d5517f88066b7402c14c89d6e3d3 files/digest-jlex-1.2.6 232
+MD5 68b12062c3663c62e39586a092819d77 files/digest-jlex-1.2.6-r1 232
+RMD160 8a2123134f9146e422c84e05f38749fbe162c894 files/digest-jlex-1.2.6-r1 232
+SHA256 7cdc273300395242ec9f31bfc9f50ce06c81d5517f88066b7402c14c89d6e3d3 files/digest-jlex-1.2.6-r1 232
index d606fae1ab271f133597013113fac0742098d736..76804f71e53cac9a528aa6cde17c2d14eb834230 100644 (file)
@@ -1 +1,3 @@
 MD5 fe501e8bb235812e9ba793b087330743 jlex-1.2.6.tar.bz2 45868
+RMD160 349fa7a7e80aec35f09fda6501572362b1927225 jlex-1.2.6.tar.bz2 45868
+SHA256 8367edecc3f31f0f55d6b1d92146d6ca9eeaf76de5eb0ff8614a0a2e38e4a2b5 jlex-1.2.6.tar.bz2 45868
diff --git a/dev-java/jlex/files/digest-jlex-1.2.6-r1 b/dev-java/jlex/files/digest-jlex-1.2.6-r1
new file mode 100644 (file)
index 0000000..76804f7
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 fe501e8bb235812e9ba793b087330743 jlex-1.2.6.tar.bz2 45868
+RMD160 349fa7a7e80aec35f09fda6501572362b1927225 jlex-1.2.6.tar.bz2 45868
+SHA256 8367edecc3f31f0f55d6b1d92146d6ca9eeaf76de5eb0ff8614a0a2e38e4a2b5 jlex-1.2.6.tar.bz2 45868
diff --git a/dev-java/jlex/jlex-1.2.6-r1.ebuild b/dev-java/jlex/jlex-1.2.6-r1.ebuild
new file mode 100644 (file)
index 0000000..b588eb0
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jlex/jlex-1.2.6-r1.ebuild,v 1.1 2007/01/30 10:31:00 fordfrog Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="JLex: a lexical analyzer generator for Java"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="http://www.cs.princeton.edu/~appel/modern/java/JLex/"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="jlex"
+SLOT="0"
+DEPEND=">=virtual/jdk-1.4
+       source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+IUSE="doc source"
+
+src_compile() {
+       ejavac -nowarn Main.java
+}
+
+src_install() {
+       dodoc README Bugs
+
+       if use doc ; then
+               dohtml manual.html
+               dodoc sample.lex
+       fi
+
+       mkdir JLex && mv *.class JLex/
+       jar cf jlex.jar JLex/ || die "failed to jar"
+       java-pkg_dojar jlex.jar
+
+       if use source ; then
+               rm JLex/*
+               cp Main.java JLex
+               java-pkg_dosrc JLex
+       fi
+}