summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-20 09:56:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-20 09:56:44 +0000
commitbeb015e0ea07efe8c887f90f00bed27687ec37ed (patch)
tree4854a1443c6805fa736e3d0c9315a3ad13399f22 /sys-apps/hdparm
parentarm/s390/sh stable (diff)
downloadgentoo-2-beb015e0ea07efe8c887f90f00bed27687ec37ed.tar.gz
gentoo-2-beb015e0ea07efe8c887f90f00bed27687ec37ed.tar.bz2
gentoo-2-beb015e0ea07efe8c887f90f00bed27687ec37ed.zip
Version bump.
(Portage version: 2.1.3_rc3)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/files/digest-hdparm-7.63
-rw-r--r--sys-apps/hdparm/hdparm-7.6.ebuild41
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 6fcc2b3ea97c..4bd76b223202 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hdparm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.110 2007/06/14 20:41:36 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.111 2007/06/20 09:56:44 vapier Exp $
+
+*hdparm-7.6 (20 Jun 2007)
+
+ 20 Jun 2007; Mike Frysinger <vapier@gentoo.org> +hdparm-7.6.ebuild:
+ Version bump.
14 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> hdparm-7.3.ebuild:
ppc stable, bug #181965
diff --git a/sys-apps/hdparm/files/digest-hdparm-7.6 b/sys-apps/hdparm/files/digest-hdparm-7.6
new file mode 100644
index 000000000000..037283154148
--- /dev/null
+++ b/sys-apps/hdparm/files/digest-hdparm-7.6
@@ -0,0 +1,3 @@
+MD5 f2e9f4553670ad4405e5fe8516402649 hdparm-7.6.tar.gz 62384
+RMD160 214b61fb13171161ce7849c6e96452c4496a2016 hdparm-7.6.tar.gz 62384
+SHA256 cb9d07d1a1f1546b4b141ce9cf073d047c6bac01e83e2ed76aaa1bc1a7dc23d6 hdparm-7.6.tar.gz 62384
diff --git a/sys-apps/hdparm/hdparm-7.6.ebuild b/sys-apps/hdparm/hdparm-7.6.ebuild
new file mode 100644
index 000000000000..9fbe73fc7b21
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-7.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-7.6.ebuild,v 1.1 2007/06/20 09:56:44 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 ~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}:" \
+ -e "/strip hdparm/d" \
+ Makefile || die "sed"
+}
+
+src_compile() {
+ emake 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
+}