summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Prugh <ken69267@gentoo.org>2008-06-29 17:18:15 +0000
committerKenneth Prugh <ken69267@gentoo.org>2008-06-29 17:18:15 +0000
commit723ad0d047e2ce7c97e4d7195d8b014ed4823e64 (patch)
tree112fda7d7cd1e46418ddb50955865b92a1029658 /app-misc/slashtime
parentVersion bump. (diff)
downloadgentoo-2-723ad0d047e2ce7c97e4d7195d8b014ed4823e64.tar.gz
gentoo-2-723ad0d047e2ce7c97e4d7195d8b014ed4823e64.tar.bz2
gentoo-2-723ad0d047e2ce7c97e4d7195d8b014ed4823e64.zip
Initial commit
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)
Diffstat (limited to 'app-misc/slashtime')
-rw-r--r--app-misc/slashtime/ChangeLog10
-rw-r--r--app-misc/slashtime/Manifest4
-rw-r--r--app-misc/slashtime/metadata.xml10
-rw-r--r--app-misc/slashtime/slashtime-0.5.4.ebuild49
4 files changed, 73 insertions, 0 deletions
diff --git a/app-misc/slashtime/ChangeLog b/app-misc/slashtime/ChangeLog
new file mode 100644
index 000000000000..913d7926f429
--- /dev/null
+++ b/app-misc/slashtime/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/slashtime
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/slashtime/ChangeLog,v 1.1 2008/06/29 17:18:15 ken69267 Exp $
+
+*slashtime-0.5.4 (29 Jun 2008)
+
+ 29 Jun 2008; Kenneth Prugh <ken69267@gentoo.org> +metadata.xml,
+ +slashtime-0.5.4.ebuild:
+ Initial commit
+
diff --git a/app-misc/slashtime/Manifest b/app-misc/slashtime/Manifest
new file mode 100644
index 000000000000..04e099a0daa6
--- /dev/null
+++ b/app-misc/slashtime/Manifest
@@ -0,0 +1,4 @@
+DIST slashtime-0.5.4.tar.bz2 47619 RMD160 b0f46ccb1fcade46a5afbed16be51273e0d7cf11 SHA1 cff3a9a95bdaddaca63235b15da8dc34f24fc053 SHA256 905854855c3d345ac255ee8e5420cbcb0700904f05fea046f36d8aa21c760dba
+EBUILD slashtime-0.5.4.ebuild 1199 RMD160 a4034754d6a0875598cd2ff43464377ca8093be3 SHA1 ac3e6c5e481182b968abd069cb08b045a6153763 SHA256 e11687146c6bf030f0b1bb25e5304631b3edccca6b4863df8c8bbd8b83fd5775
+MISC ChangeLog 262 RMD160 1e3c63cdd5ea877469ef20d5628cd0ebb351f074 SHA1 25d827fd904699f22981b08c2a1e6191bdeaa35c SHA256 36c31070d9a55d57c8a0b4efe08c07e2519bf45780e0a45ccb5493309f553076
+MISC metadata.xml 254 RMD160 02453b86ef2f292439a8d3d2e7e578d29c908fa2 SHA1 607483515e8910ed985dff034136b83db1e2df83 SHA256 93c04ed610e2a0ed42297d9ec6f44acabd3ca724e691d6ac29ef56eee60728a3
diff --git a/app-misc/slashtime/metadata.xml b/app-misc/slashtime/metadata.xml
new file mode 100644
index 000000000000..1d9589fdb2ac
--- /dev/null
+++ b/app-misc/slashtime/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>ken69267@gentoo.org</email>
+ <name>Kenneth Prugh</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-misc/slashtime/slashtime-0.5.4.ebuild b/app-misc/slashtime/slashtime-0.5.4.ebuild
new file mode 100644
index 000000000000..f650ecad1596
--- /dev/null
+++ b/app-misc/slashtime/slashtime-0.5.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/slashtime/slashtime-0.5.4.ebuild,v 1.1 2008/06/29 17:18:15 ken69267 Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2
+
+DESCRIPTION="View the time at locations around the world"
+HOMEPAGE="http://research.operationaldynamics.com/projects/slashtime/"
+SRC_URI="http://research.operationaldynamics.com/projects/${PN}/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP=">=dev-java/java-gnome-4.0.7:4.0"
+
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+
+src_compile() {
+ # Handwritten in perl so not using econf
+ ./configure --prefix=/usr
+
+ emake || die "emake failed."
+}
+
+src_install() {
+ #this is needed to generate the slashtime jar
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ #remove incorrect install path
+ rm -r "${D}"/usr/share/java/
+ rm "${D}"/usr/bin/slashtime
+
+ java-pkg_register-dependency java-gnome-4.0 gtk-4.0.jar
+ java-pkg_dojar tmp/${PN}.jar
+ java-pkg_dolauncher ${PN} --main com.operationaldynamics.slashtime.Master \
+ --pwd /usr
+
+ dodoc AUTHORS HACKING PLACES README TODO || die "dodoc failed."
+
+ use source && java-pkg_dosrc src/java/com
+}