You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/sdif/sdif-3.11.4.ebuild

39 lines
788 B

# 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
}