diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-01-04 19:02:18 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-01-04 19:02:18 +0000 |
commit | e27b0aac6c1b06befb2fdcb60245f0fb897775b8 (patch) | |
tree | 144e65f569d4b4e124f30cdec8c565688bfd4125 /sys-apps | |
parent | new version (diff) | |
download | gentoo-2-e27b0aac6c1b06befb2fdcb60245f0fb897775b8.tar.gz gentoo-2-e27b0aac6c1b06befb2fdcb60245f0fb897775b8.tar.bz2 gentoo-2-e27b0aac6c1b06befb2fdcb60245f0fb897775b8.zip |
new version
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/hdparm/files/digest-hdparm-4.6 | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-4.6.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/digest-hdparm-4.6 b/sys-apps/hdparm/files/digest-hdparm-4.6 new file mode 100644 index 000000000000..fb4a437711af --- /dev/null +++ b/sys-apps/hdparm/files/digest-hdparm-4.6 @@ -0,0 +1 @@ +MD5 39347a2906b163d12ebf5cb33a8f356a hdparm-4.6.tar.gz 32768 diff --git a/sys-apps/hdparm/hdparm-4.6.ebuild b/sys-apps/hdparm/hdparm-4.6.ebuild new file mode 100644 index 000000000000..58f65ef8741d --- /dev/null +++ b/sys-apps/hdparm/hdparm-4.6.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-4.6.ebuild,v 1.1 2002/01/04 19:02:18 azarah 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 +} + + |