diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-06-17 00:51:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-06-17 00:51:53 +0000 |
commit | 8e1ece3e5e2408f144a9c2b2a62554571fff39ca (patch) | |
tree | 2009bc0a75f3e5ccc3ed3b29bda0002a091d8a7d | |
parent | Marked ~hppa again. (diff) | |
download | gentoo-2-8e1ece3e5e2408f144a9c2b2a62554571fff39ca.tar.gz gentoo-2-8e1ece3e5e2408f144a9c2b2a62554571fff39ca.tar.bz2 gentoo-2-8e1ece3e5e2408f144a9c2b2a62554571fff39ca.zip |
Version bump.
(Portage version: 2.2_pre8/cvs/Linux 2.6.25 x86_64)
-rw-r--r-- | sys-apps/hdparm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-8.9.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog index f9ddb1eef5e4..d58dda17f6a9 100644 --- a/sys-apps/hdparm/ChangeLog +++ b/sys-apps/hdparm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/hdparm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.142 2008/06/11 22:20:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.143 2008/06/17 00:51:53 vapier Exp $ + +*hdparm-8.9 (17 Jun 2008) + + 17 Jun 2008; Mike Frysinger <vapier@gentoo.org> +hdparm-8.9.ebuild: + Version bump. *hdparm-8.8 (11 Jun 2008) diff --git a/sys-apps/hdparm/hdparm-8.9.ebuild b/sys-apps/hdparm/hdparm-8.9.ebuild new file mode 100644 index 000000000000..599a47ce0fb8 --- /dev/null +++ b/sys-apps/hdparm/hdparm-8.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-8.9.ebuild,v 1.1 2008/06/17 00:51:53 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}:" \ + -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 +} |