blob: 92284cf7b5b68aa76f42f1398c95389a8d37be7c (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.22.ebuild,v 1.1 2001/03/09 10:26:59 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="esound"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/${A}
ftp://download.sourceforge.net/pub/mirrors/gnome/stable/sources/esound/${A}"
HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
DEPEND="virtual/glibc
>=media-libs/alsa-lib-0.5.9
>=media-libs/audiofile-0.1.9
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
RDEPEND="virtual/glibc
>=media-libs/alsa-lib-0.5.9
>=media-libs/audiofile-0.1.9"
src_compile() {
local myconf
if [ "`use tcpd`" ]
then
myconf="--with-libwrap"
else
myconf="--without-libwrap"
fi
try ./configure --host=${CHOST} --prefix=/usr \
--sysconfdir=/etc/esd $myconf
try make
}
src_install() {
cd ${S}
try make prefix=${D}/usr sysconfdir=${D}/etc/esd install
dodoc AUTHORS COPYING* ChangeLog README TODO
dodoc NEWS TIPS
dodoc docs/esound.ps
docinto html
dodoc docs/html/*.html docs/html/*.css
docinto html/stylesheet-images
dodoc docs/html/stylesheet-images/*.gif
}
|