summaryrefslogtreecommitdiff
path: root/sys-fs/aufs2-util/aufs2-util-9999.ebuild
blob: e9d13bc73442d395a086c9698fa33df40d54674b (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
36
37
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git linux-info eutils

DESCRIPTION="Userspace utilities for Aufs2"
HOMEPAGE="http://aufs.sourceforge.net/"
SRC_URI=""
EGIT_REPO_URI="git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-util.git"
EGIT_BRANCH="aufs2.1"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND=""
CONFIG_CHECK="AUFS_FS"

src_unpack() {
	git_src_unpack
	git_branch
	cd ${WORKDIR}/${PN}-${PV}
	epatch ${FILESDIR}/aufs-util.patch
}

src_compile() {
	emake KDIR="${KERNEL_DIR}" || die 'emake failed'
}

src_install() {
	dodir /sbin /usr/bin /etc/default
	emake DESTDIR="${D}" install || die 'emake install failed'
	dodoc README || die 'dodoc failed'
}