summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
index dc43dddf45c0..cb640251cfb5 100644
--- a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
+++ b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
@@ -12,13 +12,19 @@ SRC_URI="mirror://sourceforge/bs2b/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
-IUSE=""
RDEPEND=">=media-libs/libsndfile-1.0.25-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
-# for default_src_configure to work
-ECONF_SOURCE="${S}"
+PATCHES=( "${FILESDIR}"/${PV}-format-security.patch )
-PATCHES=( "${FILESDIR}/${PV}-format-security.patch" )
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" \
+ econf --disable-static
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}