summaryrefslogtreecommitdiff
blob: b206b64b17e58cf5479568abd55b1086e54ba612 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header $

EAPI="4"
inherit flag-o-matic
RESTRICT="mirror"
DESCRIPTION="Self-syncing tree-merging file system based on FUSE"

HOMEPAGE="http://podgorny.cz/moin/UnionFsFuse"
SRC_URI="http://podgorny.cz/unionfs-fuse/releases/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-fs/fuse"
RDEPEND="${DEPEND}"

src_configure() {
	filter-flags -flto -fuse-linkerplugin -fwhole-program -fno-common
}

src_compile() {
	emake PREFIX="${EPREFIX}/usr" BINDIR=/sbin
}

src_install() {
	dodir /usr/sbin /usr/share/man/man8
	emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" install
}