blob: 274f5729f910ddc8dbc64ac3abc91896d513c1d1 (
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
36
37
38
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools eutils
DESCRIPTION="Sound Description Interchange Format Library for audio and wave processing"
HOMEPAGE="https://sourceforge.net/projects/sdif/"
SRC_URI="https://sourceforge.net/projects/sdif/files/sdif/SDIF-${PV}/SDIF-${PV}-src.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="debug ftruncate threads"
PATCHES=(
"${FILESDIR}/${P}-fix-buildsystem.patch"
)
S="${WORKDIR}/SDIF-${PV}-src"
src_prepare() {
mv configure.{in,ac} || die
default
eautoreconf
}
src_configure() {
econf \
$(use_enable debug) \
$(use_enable ftruncate) \
$(use_enable threads pthreads)
}
src_install() {
default
prune_libtool_files --all
}
|