summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-22 21:57:27 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-22 21:57:27 +0000
commitca99a36d81dd5b52e6f3e640d8a6207cfa448ce6 (patch)
treeb86efdcdf733ed96fcf2929bc6fdb02218f0a43d /sys-apps/hdparm
parentold (diff)
downloadgentoo-2-ca99a36d81dd5b52e6f3e640d8a6207cfa448ce6.tar.gz
gentoo-2-ca99a36d81dd5b52e6f3e640d8a6207cfa448ce6.tar.bz2
gentoo-2-ca99a36d81dd5b52e6f3e640d8a6207cfa448ce6.zip
Version bump.
(Portage version: 2.2_rc26/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.13.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 41fc80d6b753..ae851ffbf16f 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hdparm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.180 2009/03/17 10:19:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.181 2009/03/22 21:57:27 vapier Exp $
+
+*hdparm-9.13 (22 Mar 2009)
+
+ 22 Mar 2009; Mike Frysinger <vapier@gentoo.org> +hdparm-9.13.ebuild:
+ Version bump.
17 Mar 2009; Raúl Porcel <armin76@gentoo.org> hdparm-9.10.ebuild:
m68k stable wrt #260452, thanks to kolla for testing
diff --git a/sys-apps/hdparm/hdparm-9.13.ebuild b/sys-apps/hdparm/hdparm-9.13.ebuild
new file mode 100644
index 000000000000..a4810b7671cd
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.13.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.13.ebuild,v 1.1 2009/03/22 21:57:27 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=""
+
+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 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
+}