summaryrefslogtreecommitdiff
blob: d0847c8590c73c7990ffcd199750ceac39334ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/copyfs/copyfs-1.0.ebuild,v 1.4 2007/05/02 10:48:52 robbat2 Exp $

inherit eutils
DESCRIPTION="fuse-based filesystem for maintaining configuration files"
HOMEPAGE="http://invaders.mars-attacks.org/~boklm/copyfs/"
SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
#RESTRICT="nostrip"
DEPEND=">=sys-fs/fuse-2.0
	sys-apps/attr"
#RDEPEND=""

src_unpack() {
	unpack ${A}
	cd ${S} || die

	# this patch fixes sandbox violations
	epatch ${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
	epatch ${FILESDIR}/${P}-unlink.patch
}

src_install() {
	make DESTDIR=${D} install || die
}