summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-02-26 21:10:14 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2017-02-26 21:10:14 -0600
commit56ac9e849b8b99f203a438ae4a16eacbee52fc1f (patch)
tree7962cc2df2d1b87b7a73de7fff69eead321db18a
parentdev-python/PyECLib: bup (diff)
downloadgentoo-56ac9e849b8b99f203a438ae4a16eacbee52fc1f.tar.gz
gentoo-56ac9e849b8b99f203a438ae4a16eacbee52fc1f.tar.bz2
gentoo-56ac9e849b8b99f203a438ae4a16eacbee52fc1f.zip
dev-libs/liberasurecode: bup
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-libs/liberasurecode/Manifest1
-rw-r--r--dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/liberasurecode/Manifest b/dev-libs/liberasurecode/Manifest
index 8c1087442d54..b459768ea67e 100644
--- a/dev-libs/liberasurecode/Manifest
+++ b/dev-libs/liberasurecode/Manifest
@@ -1 +1,2 @@
DIST liberasurecode-1.0.8.tar.gz 202130 SHA256 d0ce0968f80e772bcabfc44bdf77dd144f4917b485951fbca25e199c439823a8 SHA512 eba22b48063c8ea19cf616a47eaef05565dc9444c464f0c795ed8092997c5d9102c524b69e8692cc696db98db0b9279c308cb99fcb691897a87c6cfb569319ad WHIRLPOOL 739c2992cd844df31397719f1e500472b9d6d53bc60ae3a5e237415615166a224a2c1e360512c33ca1f0bac93cf42d25734c1e8d7937c8b88fdf1dc03c59a018
+DIST liberasurecode-1.1.1.tar.gz 202934 SHA256 b518e05f9bcb393e3ea6e5b10c1fd78c2897bdbd8540db93cee813d2ddfb14a3 SHA512 651d9537f2f1152eecae777b02d4d877b3aabcc88c354fe977679ca5025c83635b165fdf12be6174944037822ad3e2b075a9c270cae81c8f4f15c4bfcdc569cf WHIRLPOOL 76be1ec6adb81ff8c81ef854c5abff4eeabe9889aeb68d3de43de5b8461a51721374e915327c7b71bfeaf05762cf9b04b18d2b852242511b0af963f68770aea6
diff --git a/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild
new file mode 100644
index 000000000000..1c631ac77f96
--- /dev/null
+++ b/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+SRC_URI="https://bitbucket.org/tsg-/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz"
+CUSTOM_VERSION="debb72493d0e"
+S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc static-libs"
+
+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
+ eapply_user
+}
+
+src_configure() {
+ econf \
+ --htmldir=/usr/share/doc/${PF} \
+ --disable-werror \
+ $(use_enable doc doxygen) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}