summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-16 15:26:10 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-16 15:26:10 +0000
commit5abf88e9bb9bbf0a2ba4c0d884547ffbd21d4f27 (patch)
tree0bc045476b27f39bb7fabe337d4bb723f3cbdda3 /media-sound
parent*** empty log message *** (diff)
downloadgentoo-2-5abf88e9bb9bbf0a2ba4c0d884547ffbd21d4f27.tar.gz
gentoo-2-5abf88e9bb9bbf0a2ba4c0d884547ffbd21d4f27.tar.bz2
gentoo-2-5abf88e9bb9bbf0a2ba4c0d884547ffbd21d4f27.zip
Added use gnome support and fixed install bug
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild b/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild
index 131a2ac9c642..98a86aca2cfc 100644
--- a/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild
+++ b/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild,v 1.3 2001/01/16 14:50:29 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms-aalsa/xmms-aalsa-0.5.4.ebuild,v 1.4 2001/01/16 15:26:10 achim Exp $
S=${WORKDIR}/xmms-aalsa_0.5.4
DESCRIPTION="This output plugin allows xmms to work with arts, KDE's sound system"
@@ -16,12 +16,20 @@ src_unpack() {
}
src_compile() {
- try ./configure --prefix=/usr/X11R6 --host=${CHOST}
+ local myconf
+ if [ -n "`use gnome`" ]
+ then
+ myconf="--prefix=/opt/gnome"
+ else
+ myconf="--prefix=/usr/X11R6"
+ fi
+ try ./configure ${myconf} --host=${CHOST}
try make
}
-src_install() {
- try make prefix=${D}/usr/X11R6 install
+src_install() {
+
+ try make DESTDIR=${D} install
dodoc AUTHORS COPYING NEWS README
}