summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <mthode@mthode.org>2015-08-27 10:36:33 -0500
committerMatthew Thode <mthode@mthode.org>2015-08-27 10:37:42 -0500
commit1edf0ff687faed81964aaa580b79527989e68795 (patch)
treea9f0ba2d0a5390481c2026d3765a498416cf79b7 /dev-libs/liberasurecode
parentold (diff)
downloadgentoo-1edf0ff687faed81964aaa580b79527989e68795.tar.gz
gentoo-1edf0ff687faed81964aaa580b79527989e68795.tar.bz2
gentoo-1edf0ff687faed81964aaa580b79527989e68795.zip
dev-libs/liberasurecode: fixing qa issues for bug 558892
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-libs/liberasurecode')
-rw-r--r--dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..662fb531c7c4
--- /dev/null
+++ b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools multilib toolchain-funcs
+
+DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends."
+HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview"
+SRC_URI="https://bitbucket.org/tsg-/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz"
+CUSTOM_VERSION="f61e907d2bbc"
+S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="sys-devel/autoconf
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ sed -i -e 's/-O2\ //g' \
+ -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"
+}
+
+src_configure() {
+ econf --htmldir /usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ rm "${D}"/usr/$(get_libdir)/*.la || die
+}