1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils linux-info
9 DESCRIPTION="Blinks your ThinkPad's ThinkLight upon new messages"
10 HOMEPAGE="http://www.joachim-breitner.de/blog/archives/239-gaim-thinklight-pidgin-blinklight.html"
11 SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="net-im/pidgin"
21 DOCS="AUTHORS ChangeLog README TODO VERSION"
24 local acpi_modules="THINKPAD_ACPI ASUS_LAPTOP ACPI_ASUS IBM-ACPI"
25 local acpi_module_present=
26 if linux_config_exists; then
27 for config in ${acpi_modules}; do
28 linux_chkconfig_present ${config} && acpi_module_present=true
31 if ! [[ ${acpi_module_present} ]]; then
32 ewarn "Could not find one of the required acpi modules in your kernel config,"
33 ewarn "Please enable one of the following:"
39 epatch "${FILESDIR}"/fix-paths.patch