diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-11-27 21:51:50 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-11-27 21:51:50 +0000 |
commit | ac7079357494bfe006a8ae017707b909fa90b993 (patch) | |
tree | a9c27db47c391715bf56f8c2f88532409ad8d7a7 /media-plugins/rmxmms/rmxmms-0.5.1.ebuild | |
parent | moved rmxmms to media-plugins (diff) | |
download | historical-ac7079357494bfe006a8ae017707b909fa90b993.tar.gz historical-ac7079357494bfe006a8ae017707b909fa90b993.tar.bz2 historical-ac7079357494bfe006a8ae017707b909fa90b993.zip |
moved rmxmms to media-plugins
Diffstat (limited to 'media-plugins/rmxmms/rmxmms-0.5.1.ebuild')
-rw-r--r-- | media-plugins/rmxmms/rmxmms-0.5.1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/media-plugins/rmxmms/rmxmms-0.5.1.ebuild b/media-plugins/rmxmms/rmxmms-0.5.1.ebuild new file mode 100644 index 000000000000..2c36c39fbd88 --- /dev/null +++ b/media-plugins/rmxmms/rmxmms-0.5.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/rmxmms/rmxmms-0.5.1.ebuild,v 1.1 2002/11/27 21:51:50 seemant Exp $ + +S=${WORKDIR}/rmxmms/${P} +DESCRIPTION="RealAudio plugin for xmms" +SRC_URI="ftp://ftp.xmms.org/xmms/plugins/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.xmms.org http://forms.real.com/rnforms/resources/server/realsystemsdk/index.html#download" +REALSDK="rsg2sdk_r4.tar.gz" + +SLOT="0" +LICENSE="GPL-2 realsdk" +KEYWORDS="x86 -ppc -sparc -sparc64" + +DEPEND="media-sound/xmms + media-video/realplayer" + +src_unpack () { + + # Check if we got the SDK from real.com + if [ ! -f ${DISTDIR}/${REALSDK} ]; then + einfo "Please download the Real System SDK file from www.real.com" + einfo "and place it in ${DISTDIR}." + einfo "The file should be named ${REALSDK} and a good starting point" + einfo "is ${REALSDK_HOMEPAGE}." + einfo "The SDK is needed only to build the plugin, it won't be installed." + rm -rf ${WORKDIR} + exit 1 + fi + + # Unpack both realsdk and rmxmms + mkdir ${WORKDIR}/realsdk + mkdir ${WORKDIR}/rmxmms + + cd ${WORKDIR}/realsdk + unpack ${REALSDK} + + cd ${WORKDIR}/rmxmms + unpack ${A} + +} + +src_compile () { + econf "--with-realsdk-dir=${WORKDIR}/realsdk/rmasdk_6_0" || die + + emake || die +} + +src_install () { + + make install DESTDIR=${D} || die + + dodoc ${S}/README + dodoc ${S}/COPYING + dodoc ${S}/INSTALL + dodoc ${S}/ChangeLog + +} + |