# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" DESCRIPTION="Tools for Dell Inspiron and Latitude series" HOMEPAGE="http://people.debian.org/~dz/i8k/" SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" LICENSE="GPL-1" SLOT="0" KEYWORDS="x86" DEPEND="virtual/glibc virtual/x11 >=dev-lang/tk-8.3.3" RDEPEND=${DEPEND} S="${WORKDIR}/${P}" src_compile() { make all } src_install() { into /usr # this installs a tiny wrapper script # (i8kmon invokation through wish) mv ${S}/i8kmon ${S}/i8kmon.bin cat << EOD > ${S}/i8kmon #!/bin/sh # # Wrapper script for i8kmon # # add options to i8kmon.bin as needed. # (try /usr/bin/i8kmon.bin --help) # /usr/bin/wish /usr/bin/i8kmon.bin EOD dobin i8kmon.bin i8kmon i8kbuttons i8kctl i8kfan doman i8kmon.1 i8kbuttons.1 i8kctl.1 dodoc examples/40custom_load-xmodmap examples/i8k.def \ examples/setmixer.sh examples/Xmodmap README.i8kutils into /etc doins i8kmon.conf }