diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-06-05 23:12:25 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-06-05 23:12:25 +0100 |
commit | fb7372df9553f788f4bd45b07d98fa9f0faf90c8 (patch) | |
tree | 7eb20f8dfc36f1fbdef502deb3afdca02b9fb6c9 /sys-fs/libeatmydata | |
parent | media-fonts/terminus-font: apply USE=+otf to most recent release (diff) | |
download | gentoo-fb7372df9553f788f4bd45b07d98fa9f0faf90c8.tar.gz gentoo-fb7372df9553f788f4bd45b07d98fa9f0faf90c8.tar.bz2 gentoo-fb7372df9553f788f4bd45b07d98fa9f0faf90c8.zip |
sys-fs/libeatmydata: do not install static libs
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/794451
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-fs/libeatmydata')
-rw-r--r-- | sys-fs/libeatmydata/libeatmydata-129-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-fs/libeatmydata/libeatmydata-129-r1.ebuild b/sys-fs/libeatmydata/libeatmydata-129-r1.ebuild new file mode 100644 index 000000000000..71b725cd15a6 --- /dev/null +++ b/sys-fs/libeatmydata/libeatmydata-129-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 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://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 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-util/strace )" + +ECONF_SOURCE="${S}" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf --disable-static +} + +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 "${D}" -name '*.la' -type f -delete || die + + dodoc AUTHORS README.md +} |