Fixes #560014.
Thanks to Vitaly L. Fadeev
Package-Manager: portage-2.2.20.1
DIST bareos-fastlzlib-0_pre20140912.zip 379089 SHA256 27f72b2fa9aba927d61020dc3de2e5ce1c1b2384317b933f0a116d11029fb9dc SHA512 94b9bd1c599b65d2dc074beb77fb8fe4139647bb047bcfd52b36126dd95ddb3e3e88cdb10464631594ebaff18405446a566fed4eb83ba08e71894de5a47d019f WHIRLPOOL 7fe17ce26f053f741d9d033b5bbdb5e233bd8b55b919cb582524d42f87b661aff34c6c68f76944c186ffacb1f98768265d93421e3097853c5234109d344a1d90
+DIST bareos-fastlzlib-0_pre20150524.zip 379650 SHA256 2649134f07e01d49e719d15a22674e39450d6074120c9cc63c54eb7aef58aa3b SHA512 cf4b657ce27fad7bf8e0ed5183507f544783f4cf9d72a50754ecdce9784095ec110b51cc22c164610dc037f23a30f945a9c69e38c6cc8e55cf7691ac2b473bc8 WHIRLPOOL dea0b0e8efd53d634712ed6f76c6c456f773ece6897d1af3a717b3ad1d5ca054857632aafc9c8cf27e9e237725111fab52cc4a2c0ceb7d0b2c86d41342041856
--- /dev/null
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="bareos fork of zlib-like interface to fast block compression (LZ4 or FastLZ) libraries"
+HOMEPAGE="https://github.com/bareos/fastlzlib"
+SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.zip"
+
+LICENSE="BSD-1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !app-arch/lz4
+"
+
+S="${WORKDIR}/fastlzlib-master"
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -delete
+ find "${D}" -type d -name libfastlz -exec rm -rf {} +
+}