overlay/sys-kernel/sim_buffalo/sim_buffalo-0.1.ebuild
2010-10-05 18:49:04 +00:00

50 lines
799 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils linux-mod
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://tyche.pu-toyama.ac.jp/~a-urasim/lsxhl/data/sim_buffalo.tgz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources"
RESTRICT="mirror"
S=${WORKDIR}/sim_buffalo
MODULE_NAMES="sim_buffalo(misc:${S}:${S}/kernel)"
BUILD_TARGETS="kernel-mod"
BUILD_PARAMS="KSRC=${KERNEL_DIR}"
src_unpack() {
unpack ${A}
}
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
}