diff options
Diffstat (limited to 'dev-lang/j')
-rw-r--r-- | dev-lang/j/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/j/j-701-r2.ebuild | 45 | ||||
-rw-r--r-- | dev-lang/j/metadata.xml | 8 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/j/Manifest b/dev-lang/j/Manifest new file mode 100644 index 000000000000..bba6e603997e --- /dev/null +++ b/dev-lang/j/Manifest @@ -0,0 +1 @@ +DIST j701_b_source.tar.gz 808367 SHA256 da3332589ed6fd01c15991991c9b45da2b0391b3bd110692e98798c6faa5b2be SHA512 f7ac035883098918ba4baa374a856a281a94adb83e7fb4828ef95d1a24aedc648b23593cc6ef6932e6ac546b0ba8215a8018265a3cb39c5008053c5ab7f74d57 WHIRLPOOL a8cc104419d5e26853d769d7d20b156b5da4ad5cbd50551ddac3e4789bc2819991664e504ede6f3f8a90c9aa1b6a7f5c8a61d903b68acc512773f60c53d5fbdf diff --git a/dev-lang/j/j-701-r2.ebuild b/dev-lang/j/j-701-r2.ebuild new file mode 100644 index 000000000000..11ed50979dbe --- /dev/null +++ b/dev-lang/j/j-701-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..24cbb90cf0c4 --- /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> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> |