diff options
Diffstat (limited to 'sys-fs/redirfs/redirfs-0.2-r1.ebuild')
-rw-r--r-- | sys-fs/redirfs/redirfs-0.2-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-fs/redirfs/redirfs-0.2-r1.ebuild b/sys-fs/redirfs/redirfs-0.2-r1.ebuild new file mode 100644 index 000000000000..2d8152be6e7c --- /dev/null +++ b/sys-fs/redirfs/redirfs-0.2-r1.ebuild @@ -0,0 +1,41 @@ +# 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-r1.ebuild,v 1.1 2008/03/15 09:04:25 alonbl Exp $ + +inherit linux-mod eutils + +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_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-truncate_inode_pages.patch" +} + +src_install() { + linux-mod_src_install + insinto /usr/include + doins redirfs.h +} |