summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-13 22:54:02 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-13 22:54:02 +0000
commit33e8bacec45284bf0f2bca989c710439fd6af1a4 (patch)
tree2b1a72d473b97b8528766ae060bd67ddd804aea9
parentremove old version. rev bump to 1.4.8 (diff)
downloadgentoo-2-33e8bacec45284bf0f2bca989c710439fd6af1a4.tar.gz
gentoo-2-33e8bacec45284bf0f2bca989c710439fd6af1a4.tar.bz2
gentoo-2-33e8bacec45284bf0f2bca989c710439fd6af1a4.zip
Version bump #181910 by Raul Porcel.
(Portage version: 2.1.2.9)
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/files/digest-hdparm-7.53
-rw-r--r--sys-apps/hdparm/hdparm-7.5.ebuild41
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index 0799bb2944a2..248304277f89 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.102 2007/05/12 16:51:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.103 2007/06/13 22:54:02 vapier Exp $
+
+*hdparm-7.5 (13 Jun 2007)
+
+ 13 Jun 2007; Mike Frysinger <vapier@gentoo.org> +hdparm-7.5.ebuild:
+ Version bump #181910 by Raul Porcel.
12 May 2007; Raúl Porcel <armin76@gentoo.org> hdparm-7.3.ebuild:
Back to stable
diff --git a/sys-apps/hdparm/files/digest-hdparm-7.5 b/sys-apps/hdparm/files/digest-hdparm-7.5
new file mode 100644
index 000000000000..5a2076e3b15d
--- /dev/null
+++ b/sys-apps/hdparm/files/digest-hdparm-7.5
@@ -0,0 +1,3 @@
+MD5 a608b3faf1b315fa5bb1ee04c1ee8952 hdparm-7.5.tar.gz 62100
+RMD160 67af1b24c39dbbe384191b0c46c4ff6245b3e384 hdparm-7.5.tar.gz 62100
+SHA256 5216ee1cbfcaf9d9ecd2bdbc5b927a914d369b00c8d23c4f58b1465ed5782001 hdparm-7.5.tar.gz 62100
diff --git a/sys-apps/hdparm/hdparm-7.5.ebuild b/sys-apps/hdparm/hdparm-7.5.ebuild
new file mode 100644
index 000000000000..9646f488d039
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-7.5.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.5.ebuild,v 1.1 2007/06/13 22:54:02 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
+}