summaryrefslogtreecommitdiff
blob: ea0f794b0fa7a2488b11c448e7c4296a329367af (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="3"

inherit eutils linux-mod

DESCRIPTION="Stackable passthru file system for Linux."
HOMEPAGE="http://wrapfs.filesystems.org/"
SRC_URI="http://www.hartwork.org/public/${P}.tar.bz2"

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

DEPEND=""
RDEPEND=""

pkg_setup() {
	linux-mod_pkg_setup
	MODULE_NAMES="wrapfs(extra:)"
	BUILD_TARGETS="wrapfs.ko"
	BUILD_PARAMS="-C ${KERNEL_DIR} M=${S} modules"
}

src_prepare() {
	epatch "${FILESDIR}"/${P}-2.6.39.patch
}

src_install() {
	dodoc AUTHORS README
	linux-mod_src_install
}