1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="A kernelmodule which monitors the temperature of the aspire one netbook"
11 HOMEPAGE="http://piie.net/index.php?section=acerhdf"
12 SRC_URI="http://piie.net/files/${MY_P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
22 BUILD_TARGETS="default"
23 MODULE_NAMES="${PN}(:${S}:${S})"
24 MODULESD_ACERHDF_DOCS="README.txt"
25 BUILD_PARAMS="KDIR=${KERNEL_DIR}"
26 CONFIG_CHECK="!ACERHDF ~THERMAL ~THERMAL_HWMON ~ACPI"
30 if kernel_is lt 2 6 30; then
31 ewarn "This version of ${PN} needs at least kernel version 2.6.30 selected"
32 ewarn "Please set the /usr/src/linux symlink to the right version"
33 die "This version of ${PN} needs at least kernel version 2.6.30 selected"
38 linux-mod_pkg_postinst
39 einfo "The module now starts with kernel mode off"
40 einfo "Add options acerhdf kernelmode=1 to your"
41 einfo "/etc/modprobe.d/acerhdf.conf to enable it at loadtime"