diff options
author | 2015-08-27 18:01:19 +0200 | |
---|---|---|
committer | 2015-08-27 18:01:46 +0200 | |
commit | 937dd6556b03fdebd4be737a6f45b71a2215233c (patch) | |
tree | 45cc905ccdbf53d4445030608da0587b4aa3fbe5 /dev-libs/liberasurecode | |
parent | kde5.eclass: don't make kde-plasma/polkit-kde-agent block kde-apps/kde4-l10n. (diff) | |
download | gentoo-937dd6556b03fdebd4be737a6f45b71a2215233c.tar.gz gentoo-937dd6556b03fdebd4be737a6f45b71a2215233c.tar.bz2 gentoo-937dd6556b03fdebd4be737a6f45b71a2215233c.zip |
dev-libs/liberasurecode: Fix QA problems
Respect USE=doc
drop unnecessary die
disable werror
use configure switch to handle static-libs
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-libs/liberasurecode')
-rw-r--r-- | dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild index 662fb531c7c4..20980abbd0de 100644 --- a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild +++ b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -inherit autotools multilib toolchain-funcs + +inherit autotools eutils multilib toolchain-funcs DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends." HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview" @@ -14,7 +15,7 @@ S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc" +IUSE="doc static-libs" RDEPEND="" DEPEND="sys-devel/autoconf @@ -25,14 +26,18 @@ src_prepare() { -e 's/mmx\ /mmx2\ /g' \ -e 's/cat\ g/#cat\ g/g' configure.ac || die sed -i -e "s/^TARGET_DIR.*$/TARGET_DIR=\/usr\/share\/doc\/${PF}\/html/g" doc/Makefile.am || die - eautoreconf -i -v || die "autoconf failed" + eautoreconf -i -v } src_configure() { - econf --htmldir /usr/share/doc/${PF} + econf \ + --htmldir=/usr/share/doc/${PF} \ + --disable-werror \ + $(use_enable doc doxygen) \ + $(use_enable static-libs static) } src_install() { - emake DESTDIR="${D}" install - rm "${D}"/usr/$(get_libdir)/*.la || die + default + prune_libtool_files } |