diff options
author | Sam James <sam@gentoo.org> | 2023-01-09 05:47:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-09 05:52:46 +0000 |
commit | 5f88996c5e26575277f3167ea7bc99368d1fac35 (patch) | |
tree | 8daa24155d9ae83ad99ec8fd45757c9653d1894b /sys-fs/libeatmydata/libeatmydata-131.ebuild | |
parent | app-admin/rasdaemon: enable --record for OpenRC by default (diff) | |
download | gentoo-5f88996c5e26575277f3167ea7bc99368d1fac35.tar.gz gentoo-5f88996c5e26575277f3167ea7bc99368d1fac35.tar.bz2 gentoo-5f88996c5e26575277f3167ea7bc99368d1fac35.zip |
sys-fs/libeatmydata: add 131
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/libeatmydata/libeatmydata-131.ebuild')
-rw-r--r-- | sys-fs/libeatmydata/libeatmydata-131.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/libeatmydata/libeatmydata-131.ebuild b/sys-fs/libeatmydata/libeatmydata-131.ebuild new file mode 100644 index 000000000000..92d05a4733a5 --- /dev/null +++ b/sys-fs/libeatmydata/libeatmydata-131.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Multilib because "handy to inject into wine" +inherit multilib-minimal + +DESCRIPTION="LD_PRELOAD hack to convert sync()/msync() and the like to NO-OP" +HOMEPAGE="https://www.flamingspork.com/projects/libeatmydata/" +SRC_URI="https://github.com/stewartsmith/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-util/strace )" + +PATCHES=( + "${FILESDIR}"/${PN}-131-gnu_source.patch +) + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} + +multilib_src_test() { + # Sandbox fools LD_PRELOAD and libeatmydata does not get control + # feature of sandbox + SANDBOX_ON=0 LD_PRELOAD= emake -k check +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -type f -delete || die + + dodoc AUTHORS README.md +} |