35 lines
746 B
Bash
35 lines
746 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit multilib-minimal
|
|
|
|
DESCRIPTION="LD_PRELOAD hack to convert sync()/msync() and the like to NO-OP"
|
|
HOMEPAGE="https://launchpad.net/libeatmydata/"
|
|
SRC_URI="https://launchpad.net/${PN}/trunk/release-${PV}/+download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
# sandbox fools LD_PRELOAD and libeatmydata does not get control
|
|
# feature of sandbox
|
|
#DEPEND="test? ( dev-util/strace )"
|
|
RESTRICT=test
|
|
|
|
DEPEND="sys-apps/sed"
|
|
RDEPEND=""
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-105-undpkg.patch
|
|
)
|
|
|
|
ECONF_SOURCE=${S}
|
|
|
|
multilib_src_install_all() {
|
|
find "${D}" -name '*.la' -type f -delete || die
|
|
|
|
dodoc AUTHORS README
|
|
}
|