# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: 2002/07/19 14:48:32 JohnM Exp $ S=${WORKDIR}/${P} DESCRIPTION="icecast MP3 streaming client. supports on the fly re-encoding" SRC_URI="http://www.icecast.org/releases/${P}.tar.gz" HOMEPAGE="http://www.icecast.org" LICENSE="GPL" KEYWORDS="x86" SLOT="0" DEPEND="net-misc/icecast media-sound/lame" # Perhaps lame can be a USE= variable? RDEPEND="" src_unpack () { unpack ${A} cd ${S} } src_compile () { local myconf use python && myconf="--with-python-includes=/usr/include/python2.2/" use perl && myconf=${myconf}" --with-perl" ./configure --with-lame \ ${myconf} || die emake || die } src_install () { make prefix=${D}/usr \ mandir=${D}/usr/share/man \ install || die }