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

EAPI=2
inherit eutils git linux-info toolchain-funcs multilib

DESCRIPTION="Userspace utilities for aufs2."
HOMEPAGE="http://aufs.sourceforge.net/"
SRC_URI=""
EGIT_REPO_URI="http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git"

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

DEPEND=""
RDEPEND=""

src_prepare() {
	tc-export CC LD AR
	epatch "${FILESDIR}/${P}_gentoo.patch"
}

src_compile() {
	ARCH="$(tc-arch-kernel)" emake KDIR="${KERNEL_DIR}" || die
}

src_install() {
	emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die
	dodoc README || die
}