# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/ataidle/ataidle-2.7.1.ebuild $ inherit toolchain-funcs DESCRIPTION="Ataidle sets the idle timer on ATA (IDE) hard drives, so the drive spins down when the period of inactivity has expired" HOMEPAGE="http://www.cran.org.uk/~brucec/software/ataidle.html" SRC_URI="http://www.cran.org.uk/~brucec/software/ataidle-${PV}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" IUSE="" src_unpack() { unpack ${A} cd "${S}" } src_compile() { emake || die "compile error" } src_install() { into / dosbin ataidle || die "dosbin" doman ataidle.8 dodoc README COPYING }