summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-10-29 19:31:03 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-10-29 19:31:03 +0000
commit01d46e82ae28f5bf929daa8134ed80d70a22f9b1 (patch)
tree15985d65b3758f917380c96db4d4ae77cb8a3221 /app-laptop
parentchanged DEPEND to >=dev-libs/libusb-0.1.10a, see bug #110524, added herd medi... (diff)
downloadgentoo-2-01d46e82ae28f5bf929daa8134ed80d70a22f9b1.tar.gz
gentoo-2-01d46e82ae28f5bf929daa8134ed80d70a22f9b1.tar.bz2
gentoo-2-01d46e82ae28f5bf929daa8134ed80d70a22f9b1.zip
Fix head -1 issue with lm-profiler.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog6
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild10
2 files changed, 13 insertions, 3 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index e19f624abbbe..f2247bce7e02 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/laptop-mode-tools
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.18 2005/10/29 19:00:42 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.19 2005/10/29 19:31:03 brix Exp $
+
+ 29 Oct 2005; Henrik Brix Andersen <brix@gentoo.org>
+ laptop-mode-tools-1.11.ebuild:
+ Fix head -1 issue with lm-profiler.
*laptop-mode-tools-1.11 (29 Oct 2005)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild
index 35a98befee2e..e05905e3abbb 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild,v 1.1 2005/10/29 19:00:42 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild,v 1.2 2005/10/29 19:31:03 brix Exp $
-inherit linux-info
+inherit fixheadtails linux-info
MY_P=${PN}_${PV}
@@ -35,6 +35,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+
+ ht_fix_file ${S}/usr/sbin/lm-profiler
+}
+
src_install() {
dosbin usr/sbin/laptop_mode
dosbin usr/sbin/lm-profiler