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 /dev-java/jmf-mp3/jmf-mp3-1.0.ebuild | |
parent | 808b10d7eda0852ffecd5b938a8b840ad6f1ba8a (diff) | |
download | overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.tar.gz overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.tar.bz2 overlay-025ca9dbc27bdf755e89573c67ceff0852ed9e24.zip |
Added jmf-mp3 - bug #192001
Diffstat (limited to 'dev-java/jmf-mp3/jmf-mp3-1.0.ebuild')
-rw-r--r-- | dev-java/jmf-mp3/jmf-mp3-1.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
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 +} |