| # Copyright 1999-2008 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/sys-power/acpitool/acpitool-0.4.7-r1.ebuild,v 1.5 2008/04/20 08:46:22 vapier Exp $ |
| |
| inherit eutils |
| |
| DESCRIPTION="A small command line application, intended to be a replacement for the apm tool" |
| HOMEPAGE="http://freeunix.dyndns.org:8088/site2/acpitool.shtml" |
| SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
| |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="amd64 x86" |
| IUSE="" |
| |
| src_unpack() { |
| unpack ${A} |
| epatch "${FILESDIR}"/${PN}-0.4.7-proc_acpi_info_move.patch |
| epatch "${FILESDIR}"/${PN}-0.4.7-gcc43.patch #214171 |
| } |
| |
| src_install() { |
| emake DESTDIR="${D}" install || die "make install failed" |
| dodoc AUTHORS ChangeLog README TODO |
| } |