summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-11-19 02:32:23 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-11-19 02:32:23 +0000
commitb246d8cb303dbf21d4cf2f26d9e1dc4dd108eec1 (patch)
treec48bbcd1bac35728e6572466cffc4dc92a7d35f0 /dev-lang/j
parentadding icinga-web-1.8.0 for bug 439430 (diff)
downloadgentoo-2-b246d8cb303dbf21d4cf2f26d9e1dc4dd108eec1.tar.gz
gentoo-2-b246d8cb303dbf21d4cf2f26d9e1dc4dd108eec1.tar.bz2
gentoo-2-b246d8cb303dbf21d4cf2f26d9e1dc4dd108eec1.zip
Initial commit, ebuild by me
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/j')
-rw-r--r--dev-lang/j/ChangeLog8
-rw-r--r--dev-lang/j/Manifest3
-rw-r--r--dev-lang/j/j-701.ebuild44
-rw-r--r--dev-lang/j/metadata.xml8
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-lang/j/ChangeLog b/dev-lang/j/ChangeLog
new file mode 100644
index 000000000000..fd775f1caf5c
--- /dev/null
+++ b/dev-lang/j/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-lang/j
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/j/ChangeLog,v 1.1 2012/11/19 02:32:23 patrick Exp $
+
+*j-701 (19 Nov 2012)
+
+ 19 Nov 2012; Patrick Lauer <patrick@gentoo.org> +j-701.ebuild, +metadata.xml:
+ Initial commit, ebuild by me
diff --git a/dev-lang/j/Manifest b/dev-lang/j/Manifest
new file mode 100644
index 000000000000..8bd341c888f9
--- /dev/null
+++ b/dev-lang/j/Manifest
@@ -0,0 +1,3 @@
+DIST j701_b_source.tar.gz 808367 SHA256 da3332589ed6fd01c15991991c9b45da2b0391b3bd110692e98798c6faa5b2be SHA512 f7ac035883098918ba4baa374a856a281a94adb83e7fb4828ef95d1a24aedc648b23593cc6ef6932e6ac546b0ba8215a8018265a3cb39c5008053c5ab7f74d57 WHIRLPOOL a8cc104419d5e26853d769d7d20b156b5da4ad5cbd50551ddac3e4789bc2819991664e504ede6f3f8a90c9aa1b6a7f5c8a61d903b68acc512773f60c53d5fbdf
+EBUILD j-701.ebuild 1162 SHA256 ece843a8f7eae42d39b9ee80d9ca1967e6e86a44ef54b892ad6b84306fc6df7e SHA512 43ef91d22f083f16d129ec256c140f893ba17e95f2a5bdc3e0c26a9a5f623f1704cd95a90d194886f5e16a7932ab969abf3dadf1f590606f01ef80c32780fa96 WHIRLPOOL 0f2691d733755e3c5717017a48ea18f7de8d574a9dfaa3c84b2ee8a24a16e62a202da199a5a9bf10d3732c720b4dd52a8d98fbfde13f5cb7864faea00fcef00b
+MISC metadata.xml 233 SHA256 65209e280ca6de32a92e1a57301ff69fb3472e55ba07848d6f80405d35e92d47 SHA512 0d30bfb39315a04767e07896409f5d3954f8e954e20fcbac7b92bb9a636c9f61c50b1b2cf55e6c1db9a199a0edc159b5c8cc8f541efb9c4adafa28e3652cff7b WHIRLPOOL 027c5101e1cbc665c9d2ef240f73a874c9f49a9b70175c5947e012df61de484585088a46b6ce9078816e548e6bcc326e7223539cc999159eee2757d0a2eb1480
diff --git a/dev-lang/j/j-701.ebuild b/dev-lang/j/j-701.ebuild
new file mode 100644
index 000000000000..897de22a2ccb
--- /dev/null
+++ b/dev-lang/j/j-701.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/j/j-701.ebuild,v 1.1 2012/11/19 02:32:23 patrick Exp $
+
+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
+ 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/jconsole" || die
+ chmod +x "${D}/usr/bin/jconsole"
+}
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>