stable/branches/experimental/net-fs/novell-novfs/novell-novfs-2.0.0_p21.ebuild

72 lines
1.5 KiB
Bash
Raw Normal View History

2007-07-09 12:53:37 +02:00
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
2007-07-09 12:53:37 +02:00
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
2007-07-09 12:53:37 +02:00
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}