summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-13 10:16:57 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-13 10:16:57 +0000
commit2cf676ba437e9c3c164a32f4c18bce9d546e41fc (patch)
tree15050d404c7512dc208dd6ad36dcbac6a9655a22 /sys-apps/hdparm
parentold (diff)
downloadgentoo-2-2cf676ba437e9c3c164a32f4c18bce9d546e41fc.tar.gz
gentoo-2-2cf676ba437e9c3c164a32f4c18bce9d546e41fc.tar.bz2
gentoo-2-2cf676ba437e9c3c164a32f4c18bce9d546e41fc.zip
Version bump #348573.
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/hdparm-9.36.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index d5cfbd9531c6..b7f1192f9b53 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hdparm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.216 2010/11/06 20:44:37 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.217 2010/12/13 10:16:57 vapier Exp $
+
+*hdparm-9.36 (13 Dec 2010)
+
+ 13 Dec 2010; Mike Frysinger <vapier@gentoo.org> +hdparm-9.36.ebuild:
+ Version bump #348573.
06 Nov 2010; Mark Loeser <halcy0n@gentoo.org> hdparm-9.28.ebuild:
Stable for ppc64; bug #325221
diff --git a/sys-apps/hdparm/hdparm-9.36.ebuild b/sys-apps/hdparm/hdparm-9.36.ebuild
new file mode 100644
index 000000000000..99af3912a2e7
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.36.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.36.ebuild,v 1.1 2010/12/13 10:16:57 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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
+ -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
+ Makefile || die "sed"
+}
+
+src_compile() {
+ emake STRIP=: CC="$(tc-getCC)" || die "compile error"
+}
+
+src_install() {
+ into /
+ dosbin hdparm contrib/idectl || die "dosbin"
+
+ newinitd "${FILESDIR}"/hdparm-init-8 hdparm
+ newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
+
+ doman hdparm.8
+ dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
+}