Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/fatcat/
Date: Mon, 29 Mar 2021 13:49:43
Message-Id: 1617025764.1e97662aa3f0fa3d80eb879395ce7984bdfe72c5.bkohler@gentoo
1 commit: 1e97662aa3f0fa3d80eb879395ce7984bdfe72c5
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 29 13:21:20 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 13:49:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e97662a
7
8 sys-fs/fatcat: switch to cmake eclass
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 sys-fs/fatcat/fatcat-1.1.0-r2.ebuild | 26 ++++++++++++++++++++++++++
14 1 file changed, 26 insertions(+)
15
16 diff --git a/sys-fs/fatcat/fatcat-1.1.0-r2.ebuild b/sys-fs/fatcat/fatcat-1.1.0-r2.ebuild
17 new file mode 100644
18 index 00000000000..1b785a18b11
19 --- /dev/null
20 +++ b/sys-fs/fatcat/fatcat-1.1.0-r2.ebuild
21 @@ -0,0 +1,26 @@
22 +# Copyright 2018-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake
28 +
29 +DESCRIPTION="FAT filesystems explore, extract, repair, and forensic tool"
30 +HOMEPAGE="https://github.com/Gregwar/fatcat"
31 +SRC_URI="https://github.com/Gregwar/fatcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="MIT"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE=""
37 +
38 +DEPEND="!elibc_glibc? ( sys-libs/argp-standalone )"
39 +RDEPEND="${DEPEND}"
40 +
41 +PATCHES=( "${FILESDIR}"/fatcat-include-getopt.patch )
42 +
43 +src_install() {
44 + cmake_src_install
45 + doman man/${PN}.1
46 + dodoc docs/*.md
47 +}