# Copyright 2003 Sean Woods . # Distributed under the terms of the GNU General Public License v2. DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/" DEPEND=">=dev-lang/tcl-8.1 >=dev-lang/tk-8.1" LICENSE="BSD" KEYWORDS="~x86" # Dummy Version DVERSION=2.2.1 SLOT="0" SRC_URI="http://www.speech.kth.se/~kare/${PN}${DVERSION}.tar.gz" S=${WORKDIR}/${PN}${DVERSION}/unix src_compile() { local myconf use alsa || myconf="--enable-alsa" use threads || myconf="${myconf} --enable-threads" use oggvorbis || myconf="${myconf} \ --enable-ogg --with-ogg-include=/usr/include/ogg --with-ogg-lib=/usr/lib" econf ${myconf} || die emake || die } src_install() { make DESTDIR=${D} install || die }