diff options
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/files/digest-hdparm-3.9-r4 | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-3.9-r4.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/digest-hdparm-3.9-r4 b/sys-apps/hdparm/files/digest-hdparm-3.9-r4 new file mode 100644 index 000000000000..8c1840596e2e --- /dev/null +++ b/sys-apps/hdparm/files/digest-hdparm-3.9-r4 @@ -0,0 +1 @@ +MD5 e0acf444f8d2fff2cb83cf080e1115e1 hdparm-3.9.tar.gz 32768 diff --git a/sys-apps/hdparm/hdparm-3.9-r4.ebuild b/sys-apps/hdparm/hdparm-3.9-r4.ebuild new file mode 100644 index 000000000000..3c85ba31f0f7 --- /dev/null +++ b/sys-apps/hdparm/hdparm-3.9-r4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-3.9-r4.ebuild,v 1.1 2001/12/19 03:09:51 drobbins Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Utility to change hard drive performance parameters" +SRC_URI="http://metalab.unc.edu/pub/Linux/system/hardware/${P}.tar.gz" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + mv Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" -e "s:-s::" \ + Makefile.orig > Makefile +} + +src_compile() { + emake all || die +} + +src_install() { + into / + dosbin hdparm + doman hdparm.8 + dodoc hdparm-*.lsm Changelog +} + + |