summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-01-24 23:48:06 +0000
committerVlastimil Babka <caster@gentoo.org>2008-01-24 23:48:06 +0000
commitf7a21734547a238cbef14e1a1239f5a175eff934 (patch)
tree590927f939b8585345d6d140c9fda4909b8c192f /dev-java/cldc-api
parentbump to 2.4.2 (diff)
downloadgentoo-2-f7a21734547a238cbef14e1a1239f5a175eff934.tar.gz
gentoo-2-f7a21734547a238cbef14e1a1239f5a175eff934.tar.bz2
gentoo-2-f7a21734547a238cbef14e1a1239f5a175eff934.zip
New package, mainly to let eclipse-sdk build against free source-based CLDC API classes from the phoneme project, and not sun-j2me-bin.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-java/cldc-api')
-rw-r--r--dev-java/cldc-api/ChangeLog11
-rw-r--r--dev-java/cldc-api/Manifest16
-rw-r--r--dev-java/cldc-api/cldc-api-1.1.ebuild35
-rw-r--r--dev-java/cldc-api/files/digest-cldc-api-1.13
-rw-r--r--dev-java/cldc-api/metadata.xml5
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/cldc-api/ChangeLog b/dev-java/cldc-api/ChangeLog
new file mode 100644
index 000000000000..2d79156b0094
--- /dev/null
+++ b/dev-java/cldc-api/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/cldc-api
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cldc-api/ChangeLog,v 1.1 2008/01/24 23:48:05 caster Exp $
+
+*cldc-api-1.1 (24 Jan 2008)
+
+ 24 Jan 2008; Vlastimil Babka <caster@gentoo.org> +metadata.xml,
+ +cldc-api-1.1.ebuild:
+ New package, mainly to let eclipse-sdk build against free source-based CLDC
+ API classes from the phoneme project, and not sun-j2me-bin.
+
diff --git a/dev-java/cldc-api/Manifest b/dev-java/cldc-api/Manifest
new file mode 100644
index 000000000000..c567bf2aa438
--- /dev/null
+++ b/dev-java/cldc-api/Manifest
@@ -0,0 +1,16 @@
+DIST cldc-api-1.1.tar.bz2 142368 RMD160 fa812c0bfbe0ac16427c324ecedf23521c516d60 SHA1 533f80c7fad0e1d46d27a0089a143be91d0229ab SHA256 5e764d515d1f2b25cd14dd6928e60a54b1693f74c11b23650a586110ff63f51b
+EBUILD cldc-api-1.1.ebuild 1155 RMD160 84e3c93f5f7239f1ae34469b793f5ee1ad27aae3 SHA1 d39648b9370bb8246defd733c0a90dd1dc2847d5 SHA256 98dab2a2f97dfa08bfaf495d60542294e03922a62e869d4f239db2d713fceffc
+MD5 cdea17bd090da0bfe635b60fcb60ea28 cldc-api-1.1.ebuild 1155
+RMD160 84e3c93f5f7239f1ae34469b793f5ee1ad27aae3 cldc-api-1.1.ebuild 1155
+SHA256 98dab2a2f97dfa08bfaf495d60542294e03922a62e869d4f239db2d713fceffc cldc-api-1.1.ebuild 1155
+MISC ChangeLog 378 RMD160 d7f83e3b7d30569de76e1839d41098620d30fa0e SHA1 43546ac8ba551b3748fd6cdbed264739dfcc7ede SHA256 1761bfdca20b67ba0d1df9ee492b0485c3486f7d05557d2c16afe643a8491c8d
+MD5 5b8bc915036c7bb5c42bf81662ac192c ChangeLog 378
+RMD160 d7f83e3b7d30569de76e1839d41098620d30fa0e ChangeLog 378
+SHA256 1761bfdca20b67ba0d1df9ee492b0485c3486f7d05557d2c16afe643a8491c8d ChangeLog 378
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
+MD5 0c2fddc858fa9b2871817835199b5063 files/digest-cldc-api-1.1 241
+RMD160 cebe7f2fab9a83822b17cdef304b25902504b208 files/digest-cldc-api-1.1 241
+SHA256 53d29d027f30b16ecf9ab24b64c6de2574f8343bc7a8c38e1c26f522be35c7a9 files/digest-cldc-api-1.1 241
diff --git a/dev-java/cldc-api/cldc-api-1.1.ebuild b/dev-java/cldc-api/cldc-api-1.1.ebuild
new file mode 100644
index 000000000000..49aef2ac721f
--- /dev/null
+++ b/dev-java/cldc-api/cldc-api-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cldc-api/cldc-api-1.1.ebuild,v 1.1 2008/01/24 23:48:05 caster Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="Java ME Connected Limited Device Configuration API"
+HOMEPAGE="http://java.sun.com/javame/reference/apis.jsp"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+# mkdir cldc-api-1.1 && cd cldc-api-1.1
+# you need a login on dev.java.net - use --username username if different from your local login
+# svn export https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk/src/javaapi/cldc1.1
+# svn export https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk/src/javaapi/share
+# cd ..
+# tar -cjf cldc-api-1.1.tar.bz2 cldc-api-1.1
+# move tarball to distdir, scp to d.g.o...
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="1.1"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+
+src_compile() {
+ mkdir classes
+ ejavac -d classes `find . -name '*.java'` || die "ejavac failed"
+ jar -cf ${PN}.jar -C classes . || die "jar failed"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+}
diff --git a/dev-java/cldc-api/files/digest-cldc-api-1.1 b/dev-java/cldc-api/files/digest-cldc-api-1.1
new file mode 100644
index 000000000000..e22bd6a6b15a
--- /dev/null
+++ b/dev-java/cldc-api/files/digest-cldc-api-1.1
@@ -0,0 +1,3 @@
+MD5 e3a616064ace84f596ccc7b1eb297adb cldc-api-1.1.tar.bz2 142368
+RMD160 fa812c0bfbe0ac16427c324ecedf23521c516d60 cldc-api-1.1.tar.bz2 142368
+SHA256 5e764d515d1f2b25cd14dd6928e60a54b1693f74c11b23650a586110ff63f51b cldc-api-1.1.tar.bz2 142368
diff --git a/dev-java/cldc-api/metadata.xml b/dev-java/cldc-api/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/cldc-api/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>