blob: 532f73f6ac26a499a96d98e707674fe62d6455b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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-r2.ebuild,v 1.2 2001/06/06 16:55:51 achim Exp $
S=${WORKDIR}/xmms-aalsa_0.5.4
DESCRIPTION="This output plugin allows xmms to work with arts, KDE's sound system"
SRC_URI="http://www1.tcnet.ne.jp/fmurata/linux/aalsa/xmms-aalsa_0.5.4.tar.gz"
DEPEND="virtual/glibc >=media-sound/xmms-1.2.3 >=media-libs/alsa-lib-0.5.9"
if [ -n "`use gnome`" ]
then
myprefix=/opt/gnome
else
myprefix=/usr/X11R6
fi
src_unpack() {
unpack ${A}
cd ${S}
cp -a configure configure.orig
sed -e "s:-O2:${CFLAGS}:g" configure.orig > configure
}
src_compile() {
try ./configure --prefix=`${myprefix}` --host=${CHOST}
try make
}
src_install() {
try make DESTDIR=${D} libdir=${myprefix}/lib/xmms/Output install
dodoc AUTHORS COPYING NEWS README
}
|