# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="STK - The Synthesis ToolKit in C++" HOMEPAGE="http://ccrma.stanford.edu/software/stk/" SRC_URI="http://ccrma.stanford.edu/software/stk/release/${P}.tar.gz" LICENSE="STK - free for noncommercial use" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc" IUSE="oss jack alsa" DEPEND="jack? (media-sound/jack-audio-connection-kit) alsa? (>=media-libs/alsa-lib-0.9)" src_compile() { econf \ $(use_with alsa) \ $(use_with jack) \ $(use_with oss) || die cd ${S}/src emake || die } src_install() { cd ${S}/src dolib.a libstk.a insinto /usr/include/STK cd ${S}/include doins *.h }