public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-visualization/gcalc: metadata.xml ChangeLog gcalc-3.1_rc1.ebuild
@ 2012-05-19 13:21 Ralph Sennhauser (sera)
  0 siblings, 0 replies; only message in thread
From: Ralph Sennhauser (sera) @ 2012-05-19 13:21 UTC (permalink / raw
  To: gentoo-commits

sera        12/05/19 13:21:41

  Added:                metadata.xml ChangeLog gcalc-3.1_rc1.ebuild
  Log:
  Import gcalc from java-overlay, initial ebuild by Serkan Kaba <serkan@gentoo.org>. #90893
  Move to sci-visualization as suggested by Kacper Kowalik <xarthisius@gentoo.org>.
  Bump EAPI, and some cleanup.
  
  (Portage version: 2.1.10.58/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-visualization/gcalc/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<herd>sci</herd>
<longdescription lang="en">
</longdescription>
</pkgmetadata>



1.1                  sci-visualization/gcalc/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sci-visualization/gcalc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gcalc/ChangeLog,v 1.1 2012/05/19 13:21:41 sera Exp $

*gcalc-3.1_rc1 (19 May 2012)

  19 May 2012; Ralph Sennhauser <sera@gentoo.org> +gcalc-3.1_rc1.ebuild,
  +metadata.xml:
  Import gcalc from java-overlay, initial ebuild by Serkan Kaba
  <serkan@gentoo.org>. #90893
  Move to sci-visualization as suggested by Kacper Kowalik
  <xarthisius@gentoo.org>.
  Bump EAPI, and some cleanup.




1.1                  sci-visualization/gcalc/gcalc-3.1_rc1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/gcalc-3.1_rc1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gcalc/gcalc-3.1_rc1.ebuild?rev=1.1&content-type=text/plain

Index: gcalc-3.1_rc1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gcalc/gcalc-3.1_rc1.ebuild,v 1.1 2012/05/19 13:21:41 sera Exp $

EAPI="4"

inherit java-pkg-2

MY_P="GCalc-${PV/_/-}"
DESCRIPTION="Java Mathematical Graphing System"
HOMEPAGE="http://gcalc.net/"
SRC_URI="http://gcalc.net/files/${MY_P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64"
IUSE=""
SLOT="0"

RDEPEND=">=virtual/jre-1.4
	!!sci-mathematics/gcalc"
DEPEND=">=virtual/jdk-1.4"

S="${WORKDIR}/${MY_P}"

java_prepare() {
	find -name '*.jar' -exec rm -v {} + || die
}

src_compile() {
	cd src || die
	ejavac $(find . -name '*.java')

	jar cf ${PN}.jar resources pluginlist.xml $(find . -name '*.class') || die
}

src_install() {
	java-pkg_dojar src/${PN}.jar
	java-pkg_dolauncher gcalc --main net.gcalc.calc.GCalc

	newicon src/resources/gicon.png ${PN}.png || die
	make_desktop_entry ${PN} "GCalc Java Mathematical Graphing System"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-19 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19 13:21 [gentoo-commits] gentoo-x86 commit in sci-visualization/gcalc: metadata.xml ChangeLog gcalc-3.1_rc1.ebuild Ralph Sennhauser (sera)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox