summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-28 21:07:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-28 21:07:50 +0000
commit257e90ed3c88857621e4f64b170241eb703ad743 (patch)
tree80de58e74957dd9e90ea319d6bbfff064cffb827 /sys-apps
parentold (diff)
downloadgentoo-2-257e90ed3c88857621e4f64b170241eb703ad743.tar.gz
gentoo-2-257e90ed3c88857621e4f64b170241eb703ad743.tar.bz2
gentoo-2-257e90ed3c88857621e4f64b170241eb703ad743.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/hdparm-9.10.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 7d544bf2668a..ea83aaab575b 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.167 2009/01/28 14:30:50 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.168 2009/01/28 21:07:50 vapier Exp $
+
+*hdparm-9.10 (28 Jan 2009)
+
+ 28 Jan 2009; Mike Frysinger <vapier@gentoo.org> +hdparm-9.10.ebuild:
+ Version bump.
28 Jan 2009; <chainsaw@gentoo.org> hdparm-9.6.ebuild:
Mark stable on AMD64 as requested by SpanKY <vapier@gentoo.org> in bug
diff --git a/sys-apps/hdparm/hdparm-9.10.ebuild b/sys-apps/hdparm/hdparm-9.10.ebuild
new file mode 100644
index 000000000000..0d9fe7d2362d
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.10.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.10.ebuild,v 1.1 2009/01/28 21:07:50 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
+}