From b4d31fd9c42ff889c7e33a7411913fffad4065d3 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sun, 29 Sep 2002 17:17:13 +0000 Subject: install hdparm as an executable file --- sys-apps/hdparm/ChangeLog | 9 ++++++- sys-apps/hdparm/files/digest-hdparm-5.2-r3 | 1 + sys-apps/hdparm/hdparm-5.2-r3.ebuild | 38 ++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 sys-apps/hdparm/files/digest-hdparm-5.2-r3 create mode 100644 sys-apps/hdparm/hdparm-5.2-r3.ebuild (limited to 'sys-apps') diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog index ab114015dc4d..99363fdf2b72 100644 --- a/sys-apps/hdparm/ChangeLog +++ b/sys-apps/hdparm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/hdparm # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.10 2002/08/15 20:13:52 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.11 2002/09/29 17:17:13 azarah Exp $ + +*hdparm-5.2-r3 (29 Sep 2002) + + 29 Sep Martin Schlemmer : + + Braindead me used newins and not newexe to install the + rc-script .. Thanks Daniel :D. *hdparm-5.2-r2 (15 Aug 2002) diff --git a/sys-apps/hdparm/files/digest-hdparm-5.2-r3 b/sys-apps/hdparm/files/digest-hdparm-5.2-r3 new file mode 100644 index 000000000000..2ad6a398657a --- /dev/null +++ b/sys-apps/hdparm/files/digest-hdparm-5.2-r3 @@ -0,0 +1 @@ +MD5 b98b78cc00c6058635ee655dbf06a784 hdparm-5.2.tar.gz 35586 diff --git a/sys-apps/hdparm/hdparm-5.2-r3.ebuild b/sys-apps/hdparm/hdparm-5.2-r3.ebuild new file mode 100644 index 000000000000..729d94708fb6 --- /dev/null +++ b/sys-apps/hdparm/hdparm-5.2-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# /space/gentoo/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.2.ebuild,v 1.1 2002/05/03 20:39:23 drobbins Exp + +S=${WORKDIR}/${P} +DESCRIPTION="Utility to change hard drive performance parameters" +SRC_URI="http://metalab.unc.edu/pub/Linux/system/hardware/${P}.tar.gz" +HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/hardware/" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ppc sparc sparc64 alpha" + +RDEPEND="virtual/glibc" +DEPEND="${RDEPEND}" + +src_compile() { + emake || die "compile error" +} + +src_install() { + into / + dosbin hdparm contrib/idectl + + exeinto /etc/init.d + newexe ${FILESDIR}/hdparm-init hdparm + + doman hdparm.8 + dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] + then + # this could cause problems on some systems + /sbin/rc-update add hdparm default + fi +} -- cgit v1.2.3-65-gdbad