Fixed RDEPEND. Added myins_xmms and myins_xmms options as arguments to make install.
authorJeremy Huddleston <eradicator@gentoo.org>
Tue, 19 Oct 2004 23:23:05 +0000 (23:23 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Tue, 19 Oct 2004 23:23:05 +0000 (23:23 +0000)
eclass/xmms-plugin.eclass

index ff6de1e72e7f348dc1999695d9f555ab528972c1..f655c0f134f8790ddb059e1d63cb0a4a6a4080f3 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xmms-plugin.eclass,v 1.1 2004/10/19 23:02:31 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xmms-plugin.eclass,v 1.2 2004/10/19 23:23:05 eradicator Exp $
 #
 # Jeremy Huddleston <eradicator@gentoo.org>
 #
@@ -48,6 +48,8 @@ IUSE="${IUSE} xmms bmp"
 
 DEPEND="bmp? ( >=media-sound/beep-media-player-0.9.7_rc2-r2 )
        xmms? ( media-sound/xmms )"
+RDEPEND="bmp? ( >=media-sound/beep-media-player-0.9.7_rc2-r2 )
+       xmms? ( media-sound/xmms )"
 
 XMMS_WORKDIR="${WORKDIR}/xmms"
 BMP_WORKDIR="${WORKDIR}/bmp"
@@ -154,12 +156,12 @@ xmms-plugin_src_compile() {
 xmms-plugin_src_install() {
        if use xmms; then
                cd ${XMMS_S}
-               make DESTDIR="${D}" install || die
+               make DESTDIR="${D}" ${myins_xmms} install || die
        fi
 
        if use bmp; then
                cd ${BMP_S}
-               make DESTDIR="${D}" install || die
+               make DESTDIR="${D}" ${myins_bmp} install || die
        fi
 
        if [ -n "${DOCS}" ]; then