git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2911 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2011-06-08 15:26:24 +00:00
parent e80671f43a
commit 135fb10be5
5 changed files with 298 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST lsproduo-0.1.0.tar.gz 1404 RMD160 cbac50d8632212d0bea9a55f0aea03de04b51ac2 SHA1 02bf128d0723f8eafe5fbba1c777926e844eec78 SHA256 67da135402bcf78244f943e1353ca3fb808c2212e56dccf4abcdfe2cacc99962
EBUILD lsproduo-0.1.0.ebuild 1037 RMD160 5ab680bc73c0f3d661a8d80dfc35da0c96c24fc6 SHA1 e232e24ad4efcf949b63cf0ba017a35557122f21 SHA256 0b16d130c8b00786d709e4bcbae32bf8983ee23b8cce3451b1d73da9e35f69d8

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils linux-mod
DESCRIPTION="A module that adds proc entries for the Linkstation Pro Duo"
HOMEPAGE="http://download.prodigy7.de/files/packages/linkstation/kernel/lsproduo-vanilla/"
SRC_URI="http://download.prodigy7.de/files/packages/linkstation/kernel/lsproduo-vanilla/modules/experimental/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources"
S=${WORKDIR}/sim_buffalo
pkg_setup() {
MODULE_NAMES="lsproduo(misc:${S}:${S})"
BUILD_TARGETS="default"
BUILD_PARAMS="KSRC=${KERNEL_DIR}"
if ! linux_chkconfig_present GPIO_SYSFS; then
ewarn "You don't have GPIO_SYSFS support enabled in the kernel."
ewarn "The /proc/buffalo simulator wont work."
fi
}
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
}