summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-26 00:26:01 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-26 00:26:01 +0000
commit400fdd37d4b945e7f906c19ef65e0e185da2e1b8 (patch)
tree55dce4d0ee2a3d64c1043bc878a7f7531443b757 /sys-apps/hdparm
parentNon-maintainer-commit: Fix bug 248657. Import signing key from upstream, fix ... (diff)
downloadgentoo-2-400fdd37d4b945e7f906c19ef65e0e185da2e1b8.tar.gz
gentoo-2-400fdd37d4b945e7f906c19ef65e0e185da2e1b8.tar.bz2
gentoo-2-400fdd37d4b945e7f906c19ef65e0e185da2e1b8.zip
Version bump.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/hdparm-9.9.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 61c1973e8b1e..306f1f97d5e6 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.163 2009/01/09 20:43:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.164 2009/01/26 00:26:01 vapier Exp $
+
+*hdparm-9.9 (26 Jan 2009)
+
+ 26 Jan 2009; Mike Frysinger <vapier@gentoo.org> +hdparm-9.9.ebuild:
+ Version bump.
*hdparm-9.8 (09 Jan 2009)
diff --git a/sys-apps/hdparm/hdparm-9.9.ebuild b/sys-apps/hdparm/hdparm-9.9.ebuild
new file mode 100644
index 000000000000..5189cf29a9ed
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.9.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.9.ebuild,v 1.1 2009/01/26 00:26:01 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
+}