blob: 3805f78ad7df36f56ff94a77aa5aafd23e051bf6 (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libaudiooss/libaudiooss-1.1.0-r1.ebuild,v 1.9 2006/07/09 20:26:14 flameeyes Exp $
HOMEPAGE="http://romeo.skybert.no/~erik/linux.html"
DESCRIPTION="Transparent OSS emulation on top of the Network Audio System"
SRC_URI="http://romeo.skybert.no/~erik/audiooss-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 amd64"
IUSE=""
RDEPEND="media-libs/nas
|| ( x11-libs/libX11 <virtual/x11-7 )"
DEPEND="${RDEPEND}
|| ( ( x11-misc/gccmakedep
x11-misc/imake )
<virtual/x11-7 )"
S=${WORKDIR}/audiooss-${PV}
src_compile() {
xmkmf -a || die
mv Makefile Makefile.old
sed -e "s:.*CDEBUGFLAGS =.*:CDEBUGFLAGS=${CFLAGS}:" \
Makefile.old > Makefile
emake || die
}
src_install() {
emake DESTDIR=${D} install || die
dodoc README FAQ ChangeLog
}
|