From 08aa320e8c410251ee71382a00d68e984b8c808a Mon Sep 17 00:00:00 2001 From: Ben Lutgens Date: Thu, 21 Jun 2001 22:09:53 +0000 Subject: UGLY UGLY UGLY hahaha :-) You'll have to download the rpm from real.com on your own and place it in /usr/portage/distfiles and then let portage take it from there. Sure wish that src_fetch was a function that could be overridden for stuff like this. I could have it print out instructions for getting and merging it as opposed to barfing when it can't find it. --- media-video/realplayer/files/digest-realplayer-8 | 1 + media-video/realplayer/realplayer-8.ebuild | 53 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 media-video/realplayer/files/digest-realplayer-8 create mode 100644 media-video/realplayer/realplayer-8.ebuild diff --git a/media-video/realplayer/files/digest-realplayer-8 b/media-video/realplayer/files/digest-realplayer-8 new file mode 100644 index 000000000000..14aaba6a727d --- /dev/null +++ b/media-video/realplayer/files/digest-realplayer-8 @@ -0,0 +1 @@ +MD5 525f6f050d076148e9e02769f2055d53 rp8_linux20_libc6_i386_cs2_rpm diff --git a/media-video/realplayer/realplayer-8.ebuild b/media-video/realplayer/realplayer-8.ebuild new file mode 100644 index 000000000000..997c10dc8840 --- /dev/null +++ b/media-video/realplayer/realplayer-8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author ben Lutgens +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-8.ebuild,v 1.1 2001/06/21 22:09:53 lamer Exp $ + +P=rp8_linux20_libc6_i386_cs2_rpm +A=rp8_linux20_libc6_i386_cs2_rpm +S=${WORKDIR}/usr +DESCRIPTION="Real Plaeyer * basic" +SRC_URI="" +HOMEPAGE="http://" + +DEPEND=">=app-arch/rpm-3.0.6" +src_unpack() { +# You must download rp8_linux20_libc6_i386_cs2_rpm +# from real.com and put it in ${DISTDIR} + + rpm2cpio ${DISTDIR}/${P} > rp8.cpio + cpio -i --make-directories < rp8.cpio + +} + +src_compile() { + + echo -n "Only binary package, nothing to compile" + +} + +src_install () { + + insinto /opt/netscape/plugins + doins lib/netscape/* + insinto /usr/lib/RealPlayer8/Codecs + doins lib/RealPlayer8/Codecs/* + insinto /usr/lib/RealPlayer8/Common + doins lib/RealPlayer8/Common/* + insinto /usr/lib/RealPlayer8/Plugins + doins lib/RealPlayer8/Plugins/* + insinto /usr/lib/RealPlayer8/ + doins lib/RealPlayer8/*.xpm + doins lib/RealPlayer8/*.rm + doins lib/RealPlayer8/rpminstalled + doins lib/RealPlayer8/LICENSE + exeinto /usr/lib/RealPlayer8 + doexe lib/RealPlayer8/*.sh + doexe lib/RealPlayer8/realplay + dodir /opt/kde2.1/share + insinto /opt/kde2.1/share/ + doins share/* + dodir /usr/bin + dosym /usr/lib/RealPlayer8/realplay /usr/bin/realplay +} + -- cgit v1.2.3-65-gdbad