diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jlex | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jlex')
-rw-r--r-- | dev-java/jlex/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jlex/jlex-1.2.6-r2.ebuild | 50 | ||||
-rw-r--r-- | dev-java/jlex/metadata.xml | 8 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jlex/Manifest b/dev-java/jlex/Manifest new file mode 100644 index 000000000000..8c3aac883bea --- /dev/null +++ b/dev-java/jlex/Manifest @@ -0,0 +1,3 @@ +DIST jlex-1.2.6.tar.bz2 45868 BLAKE2B d56329396668528bb626f6f03af2ebec3ccde1fc73f9e2242ff3dacc4e92c76a0e1cca29bf240832ef26c0ac98bf4b18bd820a06c99aea2b958ac13f3eadb78d SHA512 ebe16f87fe5b524de5c31651b0d5a0c282fdac99814c8f432a850a394657da4016880fba0f7418c8c42a989e78145d39188c3e68b79ed64fa1911d5680b00b9c +EBUILD jlex-1.2.6-r2.ebuild 870 BLAKE2B 8030f4b3d536401cf25c51f2192477a1b8714787fdd40453736c3b590dcc60df4f454d39341e5985990bf8c4ff454e6800b23a9d93827fa80dcfcba1f2477bb9 SHA512 27aa4c8efdee4e0300ae131f7401a748e2b766a2741a429d36b5701a077eec6e7f858999165440741e1be8c4bb31b00898f67125057fb4d34fc98930afc9e234 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/jlex/jlex-1.2.6-r2.ebuild b/dev-java/jlex/jlex-1.2.6-r2.ebuild new file mode 100644 index 000000000000..0a9728167410 --- /dev/null +++ b/dev-java/jlex/jlex-1.2.6-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +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 x86" +LICENSE="jlex" +SLOT="0" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.6" + +DEPEND=" + >=virtual/jdk-1.6 + source? ( app-arch/zip )" + +src_compile() { + ejavac -nowarn Main.java +} + +src_install() { + dodoc README Bugs + + if use doc; then + dohtml manual.html + dodoc sample.lex + fi + + mkdir JLex || die + mv *.class JLex/ || die + jar cf jlex.jar JLex/ || die "failed to jar" + + java-pkg_dojar "${PN}.jar" + java-pkg_dolauncher "${PN}" --main JLex.Main "${PN}.jar" + + if use source; then + rm JLex/* + cp Main.java JLex + java-pkg_dosrc JLex + fi +} diff --git a/dev-java/jlex/metadata.xml b/dev-java/jlex/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/jlex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> |