1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Utility to modify HCI/SCI controls on Toshiba Laptops"
8 HOMEPAGE="http://www.schwieters.org/toshset/"
9 SRC_URI="http://dev.gentooexperimental.org/~hwoarang/distfiles/${P}.tgz"
13 KEYWORDS="~amd64 ~x86"
20 sed -i 's/CFLAGS = -march=i486 \(-Wall @OS_CFLAGS@ @DEBUGFLAGS@\)/CFLAGS := \1 ${CFLAGS}/' "${S}/Makefile.in" || die "sed failed"
24 econf $(use_enable debug)
28 emake DESTDIR="${D}" install || die "emake install failed"