# Copyright (c) Marc REYNES # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ # lakes of control on kernel version actually # it will be done when i have more time to waste S=${WORKDIR}/${P}/ DESCRIPTION="Dell Inspiron and Latitute utilities" SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" HOMEPAGE="http://people.debian.org/~dz/i8k/" DEPEND="dev-lang/tcl" RDEPEND="${DEPEND}" LICENSE="GPL-2" SLOT="0" src_compile() { local target target="i8kctl i8kbuttons" use tcltk && target="${target} i8kmon" } src_install() { make ${target} || die dobin i8kbuttons i8kctl use tcltk && dobin i8kmon doman i8kbuttons.1 i8kctl.1 use tcltk && doman i8kmon.1 use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan dodoc README.i8kutils dodoc COPYING dodoc i8kmon.conf dodoc Configure.help.i8k docinto examples/ dodoc examples/* }