summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-03 03:55:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-03 03:55:04 +0000
commit064ec7bd1320560e8280bbd9e78855cd1082cf80 (patch)
tree5717adfeb2b94210a89dac4a1138a409977fabad
parentarm/ia64/s390/sh stable (diff)
downloadgentoo-2-064ec7bd1320560e8280bbd9e78855cd1082cf80.tar.gz
gentoo-2-064ec7bd1320560e8280bbd9e78855cd1082cf80.tar.bz2
gentoo-2-064ec7bd1320560e8280bbd9e78855cd1082cf80.zip
Version bump #153760 by Lars (Polynomial-C).
(Portage version: 2.1.2_rc1-r2)
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/files/digest-hdparm-6.93
-rw-r--r--sys-apps/hdparm/hdparm-6.9.ebuild40
3 files changed, 49 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 891203ca63e7..363a08cbbf2f 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hdparm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.78 2006/06/25 04:43:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.79 2006/11/03 03:55:04 vapier Exp $
+
+*hdparm-6.9 (03 Nov 2006)
+
+ 03 Nov 2006; Mike Frysinger <vapier@gentoo.org> +hdparm-6.9.ebuild:
+ Version bump #153760 by Lars (Polynomial-C).
*hdparm-6.6 (25 Jun 2006)
diff --git a/sys-apps/hdparm/files/digest-hdparm-6.9 b/sys-apps/hdparm/files/digest-hdparm-6.9
new file mode 100644
index 000000000000..f51e9295e68a
--- /dev/null
+++ b/sys-apps/hdparm/files/digest-hdparm-6.9
@@ -0,0 +1,3 @@
+MD5 62749c6cdf28ce31aae335092fa107df hdparm-6.9.tar.gz 46801
+RMD160 d862e656456f14fb8139c15cd68ba9252082532e hdparm-6.9.tar.gz 46801
+SHA256 cae6ed86296d01be98ee3be0c224c4323eee508941a7f162a0366d56655afe06 hdparm-6.9.tar.gz 46801
diff --git a/sys-apps/hdparm/hdparm-6.9.ebuild b/sys-apps/hdparm/hdparm-6.9.ebuild
new file mode 100644
index 000000000000..58646a51df23
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-6.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-6.9.ebuild,v 1.1 2006/11/03 03:55:04 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
+}