summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-18 17:12:54 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-18 17:12:54 +0000
commitfd582b689a7f2993cfed58a44ed24fcf2f7d143c (patch)
treea3a648bd200dc309f23656db59739abe2b8b14c2 /sys-apps/hdparm
parentStable on alpha, bug #265910 (diff)
downloadgentoo-2-fd582b689a7f2993cfed58a44ed24fcf2f7d143c.tar.gz
gentoo-2-fd582b689a7f2993cfed58a44ed24fcf2f7d143c.tar.bz2
gentoo-2-fd582b689a7f2993cfed58a44ed24fcf2f7d143c.zip
Version bump.
(Portage version: 2.2_rc28/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.15.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 1d7ee561a401..2451c2fe6c15 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.187 2009/04/08 22:21:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.188 2009/04/18 17:12:54 vapier Exp $
+
+*hdparm-9.15 (18 Apr 2009)
+
+ 18 Apr 2009; Mike Frysinger <vapier@gentoo.org> +hdparm-9.15.ebuild:
+ Version bump.
*hdparm-9.14 (08 Apr 2009)
diff --git a/sys-apps/hdparm/hdparm-9.15.ebuild b/sys-apps/hdparm/hdparm-9.15.ebuild
new file mode 100644
index 000000000000..1d75529dd3e6
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.15.ebuild
@@ -0,0 +1,38 @@
+# 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.15.ebuild,v 1.1 2009/04/18 17:12:54 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
+}