diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-21 04:27:00 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-21 04:27:00 +0000 |
commit | 27451e22fffe707ab269dba2842976165cc01504 (patch) | |
tree | 27c657039415081f314111834f60757026286cdc /media-sound/esound | |
parent | SRC_URI fix (diff) | |
download | gentoo-2-27451e22fffe707ab269dba2842976165cc01504.tar.gz gentoo-2-27451e22fffe707ab269dba2842976165cc01504.tar.bz2 gentoo-2-27451e22fffe707ab269dba2842976165cc01504.zip |
Fixed use alsa
Diffstat (limited to 'media-sound/esound')
-rw-r--r-- | media-sound/esound/esound-0.2.22-r2.ebuild | 60 | ||||
-rw-r--r-- | media-sound/esound/files/digest-esound-0.2.22-r2 | 1 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/esound/esound-0.2.22-r2.ebuild b/media-sound/esound/esound-0.2.22-r2.ebuild new file mode 100644 index 000000000000..fab3686a7ec4 --- /dev/null +++ b/media-sound/esound/esound-0.2.22-r2.ebuild @@ -0,0 +1,60 @@ +# 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-r2.ebuild,v 1.1 2001/04/21 04:27:00 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 + alsa? ( >=media-libs/alsa-lib-0.5.9 ) + >=media-libs/audiofile-0.1.9 + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" + +RDEPEND="virtual/glibc + alsa? ( >=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 + + if [ "`use alsa`" ] + then + myconf="$myconf --enable-alsa" + else + myconf="$myconf --enable-alsa=no" + 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 +} + + + + + + diff --git a/media-sound/esound/files/digest-esound-0.2.22-r2 b/media-sound/esound/files/digest-esound-0.2.22-r2 new file mode 100644 index 000000000000..b1b034a76ad6 --- /dev/null +++ b/media-sound/esound/files/digest-esound-0.2.22-r2 @@ -0,0 +1 @@ +MD5 0ac3c415917898ed0d98722a2f6abf2f esound-0.2.22.tar.gz |