mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James <sam@gentoo.org>
43 lines
928 B
Bash
43 lines
928 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# 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_compile() {
|
|
emake CC="$(tc-getCC)"
|
|
}
|
|
|
|
src_install() {
|
|
emake bindir="${D}"/usr/bin mandir="${D}"/usr/share/man install
|
|
}
|