diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-19 01:02:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-19 01:02:38 +0000 |
commit | 76258d9166c2255a81030604dc1c011d8eb2b951 (patch) | |
tree | 6a8addc7906a03898c987c2a46b2b697786c58d4 /sys-apps/hdparm | |
parent | Version bump. (diff) | |
download | gentoo-2-76258d9166c2255a81030604dc1c011d8eb2b951.tar.gz gentoo-2-76258d9166c2255a81030604dc1c011d8eb2b951.tar.bz2 gentoo-2-76258d9166c2255a81030604dc1c011d8eb2b951.zip |
Version bump.
(Portage version: 2.2_pre2)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-8.2.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog index f3138f0a1f85..6f8e18e70edc 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.130 2008/02/16 22:19:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.131 2008/02/19 01:02:38 vapier Exp $ + +*hdparm-8.2 (19 Feb 2008) + + 19 Feb 2008; Mike Frysinger <vapier@gentoo.org> +hdparm-8.2.ebuild: + Version bump. *hdparm-8.1 (16 Feb 2008) diff --git a/sys-apps/hdparm/hdparm-8.2.ebuild b/sys-apps/hdparm/hdparm-8.2.ebuild new file mode 100644 index 000000000000..dfe6b5e492ab --- /dev/null +++ b/sys-apps/hdparm/hdparm-8.2.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.2.ebuild,v 1.1 2008/02/19 01:02:38 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 +} |