summaryrefslogtreecommitdiff
blob: a916a83a83c77bb45d0a44d1347fa6a399a3a994 (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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/redirfs/redirfs-0.2.ebuild,v 1.3 2008/02/23 20:23:18 mr_bones_ Exp $

inherit linux-mod

DESCRIPTION="Redirecting FileSystem"
HOMEPAGE="http://www.redirfs.org"
SRC_URI="http://www.redirfs.org/packages/${P}.tar.gz"

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

DEPEND=""
RDEPEND=""

pkg_setup() {
	linux-mod_pkg_setup
	MODULE_NAMES="redirfs(misc:)"
	BUILD_TARGETS="redirfs.ko"
	BUILD_PARAMS="
		KERN_SRC=${KERNEL_DIR}
		KERN_VER=${KV_MAJOR}.${KV_MINOR}"

	eerror "This package is EXPERIMENTAL use it at your own risk"
	sleep 5
}

src_install() {
	linux-mod_src_install
	insinto /usr/include
	doins redirfs.h
}