# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.28-r1.ebuild,v 1.1 2002/06/29 02:20:00 seemant Exp $ inherit libtool S=${WORKDIR}/${P} DESCRIPTION="The Enlightened Sound Daemon" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/${P}.tar.bz2 ftp://download.sourceforge.net/pub/mirrors/gnome/stable/sources/esound/${P}.tar.bz2" HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html" SLOT="0" LICENSE="GPL-2" DEPEND="virtual/glibc >=media-libs/audiofile-0.1.9 alsa? ( >=media-libs/alsa-lib-0.5.9 ) tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" RDEPEND="virtual/glibc >=media-libs/audiofile-0.1.9 alsa? ( >=media-libs/alsa-lib-0.5.9 )" src_compile() { elibtoolize local myconf="" use tcpd && myconf="${myconf} --with-libwrap" \ || myconf="${myconf} --without-libwrap" use alsa && myconf="${myconf} --enable-alsa" \ || myconf="${myconf} --enable-alsa=no" econf \ --sysconfdir=/etc/esd \ ${myconf} || die make || die } src_install() { einstall \ sysconfdir=${D}/etc/esd \ || die dodoc AUTHORS COPYING* ChangeLog README TODO NEWS TIPS dodoc docs/esound.ps dohtml -r docs/html }