diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-04-15 11:20:50 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-04-15 11:20:50 +0000 |
commit | a143206fcb9297ab6843762a34260305d63e82ad (patch) | |
tree | 4e1d4e783d7c2d674da19d1847199ca137ffdf5a /dev-util | |
parent | Document ESVN_MIRROR variable for kde eclasses. Requested on irc. (diff) | |
download | historical-a143206fcb9297ab6843762a34260305d63e82ad.tar.gz historical-a143206fcb9297ab6843762a34260305d63e82ad.tar.bz2 historical-a143206fcb9297ab6843762a34260305d63e82ad.zip |
Moved dev-util/jay from java-overlay
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/jay/ChangeLog | 24 | ||||
-rw-r--r-- | dev-util/jay/Manifest | 4 | ||||
-rw-r--r-- | dev-util/jay/jay-1.1.1-r2.ebuild | 48 | ||||
-rw-r--r-- | dev-util/jay/metadata.xml | 6 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-util/jay/ChangeLog b/dev-util/jay/ChangeLog new file mode 100644 index 000000000000..febcf62135a9 --- /dev/null +++ b/dev-util/jay/ChangeLog @@ -0,0 +1,24 @@ +# ChangeLog for dev-util/jay +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jay/ChangeLog,v 1.1 2009/04/15 11:20:50 ali_bush Exp $ + +*jay-1.1.1-r2 (15 Apr 2009) + + 15 Apr 2009; Alistair Bush <ali_bush@gentoo.org> +metadata.xml, + +jay-1.1.1-r2.ebuild: + Move jay from java-overlay + + 13 Apr 2009; James Le Cuirot <chewi@aura-online.co.uk> -jay-1.1.1-r1.ebuild, + +jay-1.1.1-r2.ebuild: + I forgot about LDFLAGS. Fixes bug #265993. + + 12 Apr 2009; James Le Cuirot <chewi@aura-online.co.uk> -jay-1.1.1.ebuild, + +jay-1.1.1-r1.ebuild: + Use java_prepare. Fix makefiles to respect CC, CFLAGS and JAVACFLAGS. + +*jay-1.1.1 (22 Mar 2009) + + 22 Mar 2009; James Le Cuirot <chewi@aura-online.co.uk> +jay-1.1.1.ebuild: + Initial import. Only builds jay binary and yydebug.jar, not jay.jar or any of + the C# stuff, for the sake of my sanity. + diff --git a/dev-util/jay/Manifest b/dev-util/jay/Manifest new file mode 100644 index 000000000000..b7fb9c29cedb --- /dev/null +++ b/dev-util/jay/Manifest @@ -0,0 +1,4 @@ +DIST jay-1.1.1.zip 679556 RMD160 22aaa15b61300326c278b79e0b43716fa4c7c826 SHA1 0f534ac5dcb5e59fea07b84d579c4c4e7b695419 SHA256 f4da396c80578653685d287cea1e32669ebdf148cc17eed9ba88e895942bd571 +EBUILD jay-1.1.1-r2.ebuild 1251 RMD160 db49eedfee4adc6ce09af73bd254d1632200f503 SHA1 120394c4ff98ff6ef64d26fa303fc6928bf74ca5 SHA256 d56bf2d854e3fcd7d68087b216ff82b941ce7cd0e344d21afc195f65c2d9638d +MISC ChangeLog 896 RMD160 d950623b8cf146ca1baf7d688a42c9379d70f66e SHA1 047ca6f2b8f27871c2f2ff8c91af78c58f060f77 SHA256 2c9578d9b11230ba3da9c4b0adcf5b5bb2a55078495e7ad190a7f89d178d34b9 +MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b diff --git a/dev-util/jay/jay-1.1.1-r2.ebuild b/dev-util/jay/jay-1.1.1-r2.ebuild new file mode 100644 index 000000000000..30375e13336c --- /dev/null +++ b/dev-util/jay/jay-1.1.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jay/jay-1.1.1-r2.ebuild,v 1.1 2009/04/15 11:20:50 ali_bush Exp $ + +EAPI="2" +inherit java-pkg-2 toolchain-funcs + +DESCRIPTION="A LALR(1) parser generator: Berkeley yacc retargeted to C# and Java" +HOMEPAGE="http://www.cs.rit.edu/~ats/projects/lp/doc/jay/package-summary.html" +SRC_URI="http://www.cs.rit.edu/~ats/projects/lp/doc/jay/doc-files/src.zip -> ${P}.zip" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + !<=dev-lang/mono-2.4" +DEPEND=">=virtual/jdk-1.4" + +S="${WORKDIR}/jay" + +RESTRICT="test" + +java_prepare() { + # Fix up ugly makefiles. + sed -i -r \ + -e "s:^CC\s*=.*:CC = `tc-getCC`:" \ + -e 's/^jay:.* \$e /\0$(LDFLAGS) /' \ + -e '/^CFLAGS\s*=/d' \ + src/makefile || die + + sed -i -r \ + -e 's:^v4\s*=.*:v4 = ${JAVA_HOME}/bin:' \ + -e 's:JAVAC\s*=.*:\0 ${JAVACFLAGS}:' \ + yydebug/makefile || die +} + +src_compile() { + emake -C src jay || die "failed to build jay executable" + emake -C yydebug yydebug.jar || die "failed to build yydebug.jar" +} + +src_install() { + dobin src/jay || die + doman jay.1 || die + dodoc README || die + java-pkg_dojar yydebug/yydebug.jar +} diff --git a/dev-util/jay/metadata.xml b/dev-util/jay/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-util/jay/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |