diff options
Diffstat (limited to 'dev-lang/j')
-rw-r--r-- | dev-lang/j/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/j/j-701-r2.ebuild | 44 | ||||
-rw-r--r-- | dev-lang/j/metadata.xml | 8 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-lang/j/Manifest b/dev-lang/j/Manifest new file mode 100644 index 000000000000..045bde643752 --- /dev/null +++ b/dev-lang/j/Manifest @@ -0,0 +1,5 @@ +DIST j701_b_source.tar.gz 808367 SHA256 da3332589ed6fd01c15991991c9b45da2b0391b3bd110692e98798c6faa5b2be SHA512 f7ac035883098918ba4baa374a856a281a94adb83e7fb4828ef95d1a24aedc648b23593cc6ef6932e6ac546b0ba8215a8018265a3cb39c5008053c5ab7f74d57 WHIRLPOOL a8cc104419d5e26853d769d7d20b156b5da4ad5cbd50551ddac3e4789bc2819991664e504ede6f3f8a90c9aa1b6a7f5c8a61d903b68acc512773f60c53d5fbdf +EBUILD j-701-r2.ebuild 1088 SHA256 e6053873e01d104746dca5f2f75136186e6994dfaa2de967f95bd4e50647cbd5 SHA512 342139c62f3c5cc4a3bf16261c63ba99bad54f9f5913c57057e2078d6b772a8326f872ded368b28409417344452db773036e7909cb1c6f58687cf2150432041d WHIRLPOOL c899ea04952138b46d85de0f74ca96cfde70eb54bb741aeecbb997fe034ce297adf5fafebeef5310e7240bcf856676d9c9f08fcf57cae32b64f3daf24ce556c3 +MISC ChangeLog 2160 SHA256 37298a841c067c1e37ec2d7c6b5f4d8e915c3a19987832742cb6d58833e38652 SHA512 92b97765360b515952535ac1aee9aa5f04a891957dc5a6aba820b2acaafd9f7d13938aea7be9c6beb5a32e8adb8e837fdbe4f9f2a8f82232c51322ce5ead197d WHIRLPOOL 71930bcf5b942ef57bac925b23ff95969e87e9fcd96824bd0d15ba848dae3ba75a5532ea54ce6cae1ace23d1e6ddb9582fcb818ba3098b8cb3f0feabd6d16f00 +MISC ChangeLog-2015 652 SHA256 b0464969cf6f85552ae2e2eed45a5988bc559932e729a192582f124977c32c36 SHA512 053fc2279df1bbd42975c8a2c240daf78a3760dd30ef8945f362415f2fa7d40e4ed1626804c62dea69a4a2eefe0b721b5e142d4844a25a81265704cb1cb8b0b7 WHIRLPOOL d9b9ea44d8e0693dbf3f1c4fcb1e4ec8b73a843bc86fafddae0ed6be5079402e83e7124649a268635c54e4407d62acef4fd502e944b8736fc26ef0f184fe0c34 +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-lang/j/j-701-r2.ebuild b/dev-lang/j/j-701-r2.ebuild new file mode 100644 index 000000000000..c701ac272b5e --- /dev/null +++ b/dev-lang/j/j-701-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +DESCRIPTION="Modern, high-level, general-purpose, high-performance programming language" +HOMEPAGE="http://jsoftware.com" +SRC_URI="http://www.jsoftware.com/download/${PN}${PV}_b_source.tar.gz" + +inherit eutils + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/jgplsrc" + +src_prepare() { + sed -i -e 's:make libj >& make.txt:make libj:' bin/build_libj || die + sed -i -e 's:W1,soname:Wl,-soname:' bin/jconfig || die + if use amd64; then + sed -i -e 's/bits=32/bits=64/' bin/jconfig || die + fi +} + +src_compile() { + bin/jconfig || die + bin/build_defs || die + bin/build_libj || die + bin/build_jconsole || die +} + +src_install() { + # since this appears to use hardcoded relative paths + # there's no sane way to put it in the normal filesystem hierarchy + mkdir -p "${D}/opt/j" + cp -r j/* "${D}/opt/j" || die + mkdir -p "${D}/usr/bin" + echo -e "#!/bin/sh\n/opt/j/bin/jconsole" > "${D}/usr/bin/jc" || die + chmod +x "${D}/usr/bin/jc" +} diff --git a/dev-lang/j/metadata.xml b/dev-lang/j/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-lang/j/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="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> |