diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-28 20:49:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-28 20:49:39 +0000 |
commit | 03460f31741bb5bb110138882f0bd6a4652abc6b (patch) | |
tree | 142501eea9d26e12b8b9d65f53fbf79d2bc6649a /sys-apps/hdparm/hdparm-6.3.ebuild | |
parent | Fixed xmldoclet handling. (diff) | |
download | gentoo-2-03460f31741bb5bb110138882f0bd6a4652abc6b.tar.gz gentoo-2-03460f31741bb5bb110138882f0bd6a4652abc6b.tar.bz2 gentoo-2-03460f31741bb5bb110138882f0bd6a4652abc6b.zip |
Version bump #116979 by Michael Cramer and fix init.d script for cdrom devices #104683 by Heiko Baums / Stefan Illner.
(Portage version: 2.1_pre2)
Diffstat (limited to 'sys-apps/hdparm/hdparm-6.3.ebuild')
-rw-r--r-- | sys-apps/hdparm/hdparm-6.3.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/hdparm/hdparm-6.3.ebuild b/sys-apps/hdparm/hdparm-6.3.ebuild new file mode 100644 index 000000000000..f066a19f5a5c --- /dev/null +++ b/sys-apps/hdparm/hdparm-6.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-6.3.ebuild,v 1.1 2005/12/28 20:49:39 vapier Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Utility to change hard drive performance parameters" +HOMEPAGE="http://sourceforge.net/projects/hdparm/" +SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ + -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ + Makefile || die "sed" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "compile error" +} + +src_install() { + into / + dosbin hdparm contrib/idectl || die "dosbin" + + newinitd ${FILESDIR}/hdparm-init-7 hdparm + newconfd ${FILESDIR}/hdparm-conf.d.3 hdparm + + doman hdparm.8 + dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig +} |