blob: 7548c1fb1da86973ab99d0b86e6745a3c60e4a34 (
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
35
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/soxr/soxr-0.1.1.ebuild,v 1.12 2014/06/08 12:22:10 ago Exp $
EAPI=5
inherit cmake-multilib
MY_P=${P}-Source
DESCRIPTION="The SoX Resampler library"
HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/"
SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm hppa ~mips ppc ppc64 x86 ~amd64-fbsd"
IUSE="examples"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
DOCS=( "README" "TODO" "NEWS" "AUTHORS" )
PATCHES=(
"${FILESDIR}/nodoc.patch"
"${FILESDIR}/noexamples.patch"
)
src_install() {
cmake-multilib_src_install
if use examples ; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
}
|