forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brutefir-1.0k-r1.ebuild
46 lines (37 loc) · 1.19 KB
/
brutefir-1.0k-r1.ebuild
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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
inherit eutils multilib toolchain-funcs
DESCRIPTION="Software convolution engine for applying long FIR filters"
HOMEPAGE="http://www.ludd.luth.se/~torger/brutefir.html"
SRC_URI="http://www.ludd.luth.se/~torger/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND="media-libs/alsa-lib
media-sound/jack-audio-connection-kit
sci-libs/fftw:3.0"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-ld.patch
}
src_compile() {
tc-export AS CC
emake || die "emake failed"
}
src_install() {
emake LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" \
install || die "emake install failed"
dodoc CHANGES README
insinto /usr/share/${PN}
doins xtc_config directpath.txt crosspath.txt massive_config \
bench1_config bench2_config bench3_config bench4_config \
bench5_config || die "doins failed"
}
pkg_postinst() {
elog "Brutefir is a complicated piece of software. Please"
elog "read the documentation first! You can find"
elog "documentation here: http://www.ludd.luth.se/~torger/brutefir.html"
elog "Example config files are in /usr/share/brutefir"
}