# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit cmake-utils EAPI=3 DESCRIPTION="C++ library providing support for real-time 3D(binaural) sound generation." HOMEPAGE="http://media.netive.ru/clunk/" SRC_URI="mirror://sourceforge/${PN}/${P}.zip" LICENSE="LGPL" SLOT="0" KEYWORDS="~x86" IUSE="sse" RDEPEND="media-libs/libsdl" DEPEND="app-arch/unzip dev-util/cmake ${RDEPEND}" src_configure() { local mycmakeflags="$(cmake-utils_use_with sse SSE)" cmake-utils_src_configure } src_install() { insinto /usr/include doins buffer.h clunk.h clunk_assert.h context.h distance_model.h export_clunk.h fft_context.h locker.h logger.h mdct_context.h object.h sample.h source.h sse_fft_context.h stream.h v3.h dolib ../${P}_build/libclunk.so }