# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 if [[ ${PV} == *9999 ]]; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/svanderburg/lib8svx.git" else SRC_URI="https://github.com/svanderburg/lib8svx/archives/master.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Parser library for 8SVX: digitally sampled audio voices consisting of 8-bit samples" HOMEPAGE="http://github.com/svanderburg/lib8svx" MAKEOPTS="-j1" LICENSE="MIT" SLOT="0" IUSE="static-libs test doc" RDEPEND="" DEPEND="${RDEPEND}" BDEPEND=" sys-devel/autogen virtual/pkgconfig media-libs/libiff" src_prepare() { default [[ ${PV} == *9999 ]] && eautoreconf } multilib_src_configure() { ECONF_SOURCE="${S}" econf \ $(use_enable static-libs static) } multilib_src_install_all() { einstalldocs # package provides .pc files find "${D}" -name '*.la' -delete || die }