stable/net-fs/novell-novfs/novell-novfs-2.0.0.440.0.ebuild
2012-01-14 09:45:05 +01:00

53 lines
1.0 KiB
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils linux-mod
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://ftp.mars.arge.at/n4g/novfs-${PV}.tar.bz2
ftp://mars.arge.at/n4g/novfs-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources"
RESTRICT="mirror"
S=${WORKDIR}/novfs-${PV}
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}:${WORKDIR}/novfs-${PV}/)"
BUILD_TARGETS="all"
BUILD_PARAMS="KDIR=${KERNEL_DIR}"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/novfs-2.0.0.444-apparmor-1.patch
epatch ${FILESDIR}/novfs-2.0.0.444-2.6.28-1.patch
epatch ${FILESDIR}/novfs-2.0.0.444-2.6.29-1.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
}