blob: 1027878b542a6b8aebd44905fab4ad1725fbce6f (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/coda-kernel/coda-kernel-6.4.ebuild,v 1.1 2006/10/10 15:00:40 seemant Exp $
inherit linux-mod
MY_PN=linux-coda
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Kernel module for the Coda Filesystem."
HOMEPAGE="http://www.coda.cs.cmu.edu/"
SRC_URI="ftp://ftp.coda.cs.cmu.edu/pub/coda/linux/kernel/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
IUSE=""
pkg_setup() {
if kernel_is 2 4; then
MODULE_NAMES="coda(coda:${S}/linux2.4)"
elif kernel_is 2 6; then
MODULE_NAMES="coda(coda:${S}/linux2.6)"
else
die "Unsupported kernel"
fi
BUILD_TARGETS="all"
CONFIG_CHECK="!CODA_FS"
CODA_FS_ERROR="You must disable \"Coda file system support\" in your kernel configuration, because it conflicts with this package."
linux-mod_pkg_setup
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KV_DIR}"
}
|