summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-30 02:39:08 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-30 02:39:08 +0000
commit94335e7c88db62aa91fddc841241dbe2e9be80f8 (patch)
tree22b4a322e3d4070893cf129c5fe0ba2d26060891 /sys-apps/hdparm
parentsync IUSE (missing) (Manifest recommit) (diff)
downloadgentoo-2-94335e7c88db62aa91fddc841241dbe2e9be80f8.tar.gz
gentoo-2-94335e7c88db62aa91fddc841241dbe2e9be80f8.tar.bz2
gentoo-2-94335e7c88db62aa91fddc841241dbe2e9be80f8.zip
glibc -> libc
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/hdparm-5.3-r2.ebuild21
-rw-r--r--sys-apps/hdparm/hdparm-5.4.ebuild30
-rw-r--r--sys-apps/hdparm/hdparm-5.5.ebuild6
3 files changed, 31 insertions, 26 deletions
diff --git a/sys-apps/hdparm/hdparm-5.3-r2.ebuild b/sys-apps/hdparm/hdparm-5.3-r2.ebuild
index bc1279107c3b..6bc7b5239365 100644
--- a/sys-apps/hdparm/hdparm-5.3-r2.ebuild
+++ b/sys-apps/hdparm/hdparm-5.3-r2.ebuild
@@ -1,30 +1,25 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.3-r2.ebuild,v 1.13 2004/06/24 22:09:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.3-r2.ebuild,v 1.14 2004/06/30 02:39:08 vapier Exp $
DESCRIPTION="Utility to change hard drive performance parameters"
-SRC_URI="http://www.ibiblio.org/pub/Linux/system/hardware/${P}.tar.gz"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/hardware/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/system/hardware/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 amd64 ppc sparc alpha hppa"
+KEYWORDS="x86 ppc sparc alpha hppa amd64"
IUSE=""
-DEPEND="virtual/glibc"
+DEPEND="virtual/libc"
src_compile() {
- einfo ""
- einfo "The rc-script for hdparm has been updated, so make sure "
- einfo "that you etc-update. The script is much more configurable"
- einfo "for details please see /etc/conf.d/hdparm"
- einfo ""
emake || die "compile error"
}
src_install() {
into /
- dosbin hdparm contrib/idectl
+ dosbin hdparm contrib/idectl || die
exeinto /etc/init.d
newexe ${FILESDIR}/hdparm-new-init hdparm
@@ -35,3 +30,9 @@ src_install() {
doman hdparm.8
dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
}
+
+pkg_postinst() {
+ einfo "The rc-script for hdparm has been updated, so make sure "
+ einfo "that you etc-update. The script is much more configurable"
+ einfo "for details please see /etc/conf.d/hdparm"
+}
diff --git a/sys-apps/hdparm/hdparm-5.4.ebuild b/sys-apps/hdparm/hdparm-5.4.ebuild
index 9456b4db2b97..ff5ea4ee7980 100644
--- a/sys-apps/hdparm/hdparm-5.4.ebuild
+++ b/sys-apps/hdparm/hdparm-5.4.ebuild
@@ -1,33 +1,33 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.4.ebuild,v 1.13 2004/06/24 22:09:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.4.ebuild,v 1.14 2004/06/30 02:39:08 vapier Exp $
inherit eutils
-S=${WORKDIR}/${P}
DESCRIPTION="Utility to change hard drive performance parameters"
-SRC_URI="http://www.ibiblio.org/pub/Linux/system/hardware/${P}.tar.gz"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/hardware/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/system/hardware/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 ~amd64 ppc sparc alpha hppa ia64 ~mips ppc64"
+KEYWORDS="x86 ppc sparc ~mips alpha hppa ~amd64 ia64 ppc64"
+IUSE=""
-DEPEND="virtual/glibc"
+DEPEND="virtual/libc"
-src_compile() {
- einfo ""
- einfo "The rc-script for hdparm has been updated, so make sure "
- einfo "that you etc-update. The script is much more configurable"
- einfo "for details please see /etc/conf.d/hdparm"
- einfo ""
+src_unpack() {
+ unpack ${A}
+ cd ${S}
epatch ${FILESDIR}/${P}-readahead_rename.patch
+}
+
+src_compile() {
emake || die "compile error"
}
src_install() {
into /
- dosbin hdparm contrib/idectl
+ dosbin hdparm contrib/idectl || die
exeinto /etc/init.d
newexe ${FILESDIR}/hdparm-new-init hdparm
@@ -38,3 +38,9 @@ src_install() {
doman hdparm.8
dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
}
+
+pkg_postinst() {
+ einfo "The rc-script for hdparm has been updated, so make sure "
+ einfo "that you etc-update. The script is much more configurable"
+ einfo "for details please see /etc/conf.d/hdparm"
+}
diff --git a/sys-apps/hdparm/hdparm-5.5.ebuild b/sys-apps/hdparm/hdparm-5.5.ebuild
index ff419f0ec498..2d54c5cc312e 100644
--- a/sys-apps/hdparm/hdparm-5.5.ebuild
+++ b/sys-apps/hdparm/hdparm-5.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.5.ebuild,v 1.7 2004/06/24 22:09:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.5.ebuild,v 1.8 2004/06/30 02:39:08 vapier Exp $
inherit gcc eutils
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc mips ~alpha arm ~hppa amd64 ~ia64 ~ppc64 s390"
IUSE=""
-DEPEND="virtual/glibc"
+DEPEND="virtual/libc"
src_unpack() {
unpack ${A}
@@ -44,9 +44,7 @@ src_install() {
}
pkg_postinst() {
- einfo ""
einfo "The rc-script for hdparm has been updated, so make sure "
einfo "that you etc-update. The script is much more configurable"
einfo "for details please see /etc/conf.d/hdparm"
- einfo ""
}