summaryrefslogtreecommitdiff
blob: 4d2c1318034512783d726048540d9be6dad7fc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=3

inherit base toolchain-funcs multilib

DESCRIPTION="C++ library implementing a real-time convolution matrix"
HOMEPAGE="http://kokkinizita.net/linuxaudio/downloads/index.html"
SRC_URI="http://kokkinizita.net/linuxaudio/downloads/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="sci-libs/fftw:3.0"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}/${P}-makefile.patch" )

S=${WORKDIR}/${P}/libs

src_compile() {
	tc-export CXX
	emake || die
}

src_install() {
	emake PREFIX="${D}/usr" LIBDIR="$(get_libdir)" install || die
	dodoc "${WORKDIR}/${P}/AUTHORS" || die
}