blob: 252f4d2ca5343c98f9310620c551f04109ce57ac (
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
34
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit multilib toolchain-funcs
MY_P=${P/mcp/MCP}
DESCRIPTION="MCP ladspa plugins package. Includes moogvcf, phaser & chorus"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
tc-export CXX
sed -i -e "s/-O3//" \
-e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die "sed failed"
}
src_install() {
dodoc AUTHORS README
insinto /usr/$(get_libdir)/ladspa
insopts -m0755
doins *.so
}
|