summaryrefslogtreecommitdiff
blob: 7f177e16d19e8b6e97c3d41b37089704c4abe457 (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
# $Header: /var/cvsroot/gentoo-x86/media-libs/zita-convolver/zita-convolver-2.0.0.ebuild,v 1.1 2011/01/24 11:53:03 aballier Exp $

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
}