diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-01-25 23:43:28 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-01-25 23:43:28 +0100 |
commit | 025ca9dbc27bdf755e89573c67ceff0852ed9e24 (patch) | |
tree | 5aa657294e9dc11cc15429d7a2afabd20df1edd0 | |
parent | 808b10d7eda0852ffecd5b938a8b840ad6f1ba8a (diff) | |
download | overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.tar.gz overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.tar.bz2 overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.zip |
Added jmf-mp3 - bug #192001
Diffstat (limited to '')
-rw-r--r-- | dev-java/jmf-mp3/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jmf-mp3/jmf-mp3-1.0.ebuild | 46 |
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 +} |