diff options
Diffstat (limited to 'dev-lang/j')
-rw-r--r-- | dev-lang/j/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/j/j-701-r2.ebuild | 44 | ||||
-rw-r--r-- | dev-lang/j/metadata.xml | 8 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-lang/j/Manifest b/dev-lang/j/Manifest new file mode 100644 index 000000000000..9772a3141e3b --- /dev/null +++ b/dev-lang/j/Manifest @@ -0,0 +1,3 @@ +DIST j701_b_source.tar.gz 808367 BLAKE2B 0ecaf7a7dd56a79f60d73930d8910beea075551a18b44904c8e90f1b37a8e7f02178198855058b1f1552b600de29ede096d481a58c9bbf9a990852c5bff25fa6 SHA512 f7ac035883098918ba4baa374a856a281a94adb83e7fb4828ef95d1a24aedc648b23593cc6ef6932e6ac546b0ba8215a8018265a3cb39c5008053c5ab7f74d57 +EBUILD j-701-r2.ebuild 1088 BLAKE2B e48bef2b593adb295147f2805b244ca2b1f1a95df2cfcf38df7b78fcd39988569007720b89bf0ce4d47875fe125529ef1d99762dd90b6366a431d46223848d1b SHA512 342139c62f3c5cc4a3bf16261c63ba99bad54f9f5913c57057e2078d6b772a8326f872ded368b28409417344452db773036e7909cb1c6f58687cf2150432041d +MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 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> |