Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/f2fs-tools/
Date: Tue, 16 Aug 2022 13:51:28
Message-Id: 1660657881.e0fee33fc6aa312e2ca62ace9c05cf2eafd64b97.blueness@gentoo
1 commit: e0fee33fc6aa312e2ca62ace9c05cf2eafd64b97
2 Author: Harry Kurn <alternate-se7en <AT> pm <DOT> me>
3 AuthorDate: Mon Aug 15 01:05:08 2022 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 13:51:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fee33f
7
8 sys-fs/f2fs-tools: add live ebuild
9
10 Signed-off-by: Harry Kurn <alternate-se7en <AT> pm.me>
11 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
12
13 sys-fs/f2fs-tools/f2fs-tools-9999.ebuild | 38 ++++++++++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild b/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild
17 new file mode 100644
18 index 000000000000..106339c983bf
19 --- /dev/null
20 +++ b/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +inherit git-r3 autotools
28 +
29 +DESCRIPTION="Tools for Flash-Friendly File System (F2FS)"
30 +HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/"
31 +EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/${PN}.git"
32 +EGIT_BRANCH="dev"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0/9"
36 +IUSE="selinux"
37 +
38 +RDEPEND="
39 + selinux? ( sys-libs/libselinux )
40 + elibc_musl? ( sys-libs/queue-standalone )"
41 +DEPEND="${RDEPEND}"
42 +
43 +src_prepare() {
44 + default
45 + eautoreconf
46 +}
47 +
48 +src_configure() {
49 + #This is required to install to /sbin, bug #481110
50 + econf \
51 + --bindir="${EPREFIX}"/sbin \
52 + --disable-static \
53 + $(use_with selinux)
54 +}
55 +
56 +src_install() {
57 + default
58 + find "${D}" -name "*.la" -delete || die
59 +}