Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/copyfs/
Date: Wed, 15 Aug 2018 19:53:54
Message-Id: 1534362811.7d1cae050f32e59fcda0f629017af706a5f135b7.asturm@gentoo
1 commit: 7d1cae050f32e59fcda0f629017af706a5f135b7
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 1 16:47:03 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 15 19:53:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1cae05
7
8 sys-fs/copyfs: EAPI7, improve ebuild
9
10 Bug: https://bugs.gentoo.org/648050
11
12 sys-fs/copyfs/copyfs-1.0.1-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 42 insertions(+)
14
15 diff --git a/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild b/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild
16 new file mode 100644
17 index 00000000000..ec53bab73be
18 --- /dev/null
19 +++ b/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild
20 @@ -0,0 +1,42 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit autotools toolchain-funcs
27 +
28 +DESCRIPTION="fuse-based filesystem for maintaining configuration files"
29 +HOMEPAGE="https://boklm.eu/copyfs/"
30 +SRC_URI="https://boklm.eu/copyfs/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86"
35 +
36 +RDEPEND=">=sys-fs/fuse-2.0:0"
37 +DEPEND="${RDEPEND}
38 + sys-apps/attr"
39 +
40 +PATCHES=(
41 + # this patch fixes sandbox violations
42 + "${FILESDIR}"/${P}-gentoo.patch
43 + # this patch adds support for cleaning up the versions directory
44 + # the patch is experimental at best, but it's better than your
45 + # versions directory filling up with unused files
46 + #
47 + # patch by stuart@g.o
48 + "${FILESDIR}"/${PN}-1.0-unlink.patch
49 +)
50 +
51 +src_prepare() {
52 + default
53 + eautoreconf
54 +}
55 +
56 +src_configure() {
57 + econf --bindir="${D}/usr/bin" --mandir="${D}/usr/share/man"
58 +}
59 +
60 +src_compile() {
61 + emake CC=$(tc-getCC)
62 +}