summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/zita-resampler/zita-resampler-1.6.0.ebuild')
-rw-r--r--media-libs/zita-resampler/zita-resampler-1.6.0.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild b/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild
new file mode 100644
index 000000000..2620e8ab6
--- /dev/null
+++ b/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="C++ library for real-time resampling of audio signals"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsndfile"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+DOCS=(AUTHORS README)
+HTML_DOCS=(docs/)
+
+PATCHES=("${FILESDIR}"/${P}-Makefile.patch)
+
+src_compile() {
+ tc-export CXX
+
+ emake -C libs
+ emake -C apps
+}
+
+src_install() {
+ emake -C libs DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR=$(get_libdir) install
+ emake -C apps DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+
+ einstalldocs
+}