Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $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 $ |
3 |
# $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 $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit base toolchain-funcs multilib |
7 |
inherit base toolchain-funcs multilib versionator |
8 |
|
8 |
|
9 |
DESCRIPTION="C++ library implementing a real-time convolution matrix" |
9 |
DESCRIPTION="C++ library implementing a real-time convolution matrix" |
10 |
HOMEPAGE="http://kokkinizita.net/linuxaudio/downloads/index.html" |
10 |
HOMEPAGE="http://kokkinizita.net/linuxaudio/downloads/index.html" |
Lines 18-33
Link Here
|
18 |
RDEPEND="sci-libs/fftw:3.0" |
18 |
RDEPEND="sci-libs/fftw:3.0" |
19 |
DEPEND="${RDEPEND}" |
19 |
DEPEND="${RDEPEND}" |
20 |
|
20 |
|
|
|
21 |
DOCS=( "${WORKDIR}/${P}/AUTHORS" ) |
21 |
PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) |
22 |
PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) |
22 |
|
23 |
|
23 |
S=${WORKDIR}/${P}/libs |
24 |
S=${WORKDIR}/${P}/libs |
24 |
|
25 |
|
25 |
src_compile() { |
26 |
src_compile() { |
26 |
tc-export CXX |
27 |
tc-export CXX |
27 |
emake || die |
28 |
emake |
28 |
} |
29 |
} |
29 |
|
30 |
|
30 |
src_install() { |
31 |
src_install() { |
31 |
emake PREFIX="${D}/usr" LIBDIR="$(get_libdir)" install || die |
32 |
emake PREFIX="${D}/usr" LIBDIR="$(get_libdir)" install |
32 |
dodoc "${WORKDIR}/${P}/AUTHORS" || die |
33 |
base_src_install_docs |
|
|
34 |
|
35 |
# Add soname symlink which is not created in the Makefile |
36 |
pushd "${D}/usr/$(get_libdir)" |
37 |
ln -s "lib${PN}.so.${PV}" "lib${PN}.so.$(get_major_version ${PV})" |
38 |
popd |
33 |
} |
39 |
} |