diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-08-01 18:47:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-15 21:53:31 +0200 |
commit | 7d1cae050f32e59fcda0f629017af706a5f135b7 (patch) | |
tree | de542435f7b24d5a0ea4001c6850eb81af27fdc1 /sys-fs/copyfs | |
parent | sys-fs/copyfs: fix HOMEPAGE, SRC_URI (diff) | |
download | gentoo-7d1cae050f32e59fcda0f629017af706a5f135b7.tar.gz gentoo-7d1cae050f32e59fcda0f629017af706a5f135b7.tar.bz2 gentoo-7d1cae050f32e59fcda0f629017af706a5f135b7.zip |
sys-fs/copyfs: EAPI7, improve ebuild
Bug: https://bugs.gentoo.org/648050
Diffstat (limited to 'sys-fs/copyfs')
-rw-r--r-- | sys-fs/copyfs/copyfs-1.0.1-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild b/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild new file mode 100644 index 000000000000..ec53bab73be8 --- /dev/null +++ b/sys-fs/copyfs/copyfs-1.0.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="fuse-based filesystem for maintaining configuration files" +HOMEPAGE="https://boklm.eu/copyfs/" +SRC_URI="https://boklm.eu/copyfs/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=">=sys-fs/fuse-2.0:0" +DEPEND="${RDEPEND} + sys-apps/attr" + +PATCHES=( + # this patch fixes sandbox violations + "${FILESDIR}"/${P}-gentoo.patch + # this patch adds support for cleaning up the versions directory + # the patch is experimental at best, but it's better than your + # versions directory filling up with unused files + # + # patch by stuart@gentoo.org + "${FILESDIR}"/${PN}-1.0-unlink.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --bindir="${D}/usr/bin" --mandir="${D}/usr/share/man" +} + +src_compile() { + emake CC=$(tc-getCC) +} |