summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev-java/jmf-mp3/Manifest2
-rw-r--r--dev-java/jmf-mp3/jmf-mp3-1.0.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jmf-mp3/Manifest b/dev-java/jmf-mp3/Manifest
new file mode 100644
index 0000000..0a4cf92
--- /dev/null
+++ b/dev-java/jmf-mp3/Manifest
@@ -0,0 +1,2 @@
+DIST javamp3-1_0.zip 80348 RMD160 96a9bfe8ac68a7fea95f74883c98ed899fe557fa SHA1 a3673ea7cb0f86e03cddbaa84aac7b176c3cb446 SHA256 ec2785c8ad9958fb11c7d3704965209952c171e11dc0aeddcf19832230d51193
+EBUILD jmf-mp3-1.0.ebuild 1005 RMD160 49a578e3c1e07e24db7f311cd7868abeb2265e76 SHA1 70bacd1137bc7915c6e54d5986aa729a15c45b53 SHA256 4f840591e1722c16e312667cf8a3362f485fd34e8ffadc75c8abc9b95d1a56f7
diff --git a/dev-java/jmf-mp3/jmf-mp3-1.0.ebuild b/dev-java/jmf-mp3/jmf-mp3-1.0.ebuild
new file mode 100644
index 0000000..22b1a77
--- /dev/null
+++ b/dev-java/jmf-mp3/jmf-mp3-1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit java-pkg
+
+At="javamp3-1_0.zip"
+DESCRIPTION="Enables MP3 Decoding in Java"
+HOMEPAGE="http://java.sun.com/products/java-media/jmf/mp3/download.html"
+SRC_URI="${At}"
+
+LICENSE="sun-bcla-jmf"
+SLOT="0"
+KEYWORDS="x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/jmf-bin"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo
+ einfo " 1. Visit ${HOMEPAGE} and select 'Cross Platform Java'"
+ einfo " 2. Download ${At}"
+ einfo " 3. Move file to ${DISTDIR}"
+ einfo " 4. Run emerge on this package again to complete"
+ einfo
+}
+
+src_unpack() {
+ unzip -qq ${DISTDIR}/${At} || die
+}
+
+src_install() {
+ java-pkg_dojar ${WORKDIR}/lib/ext/*.jar
+ dodoc ${WORKDIR}/copyright.txt ${WORKDIR}/license.txt
+}