summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <blutgens@gentoo.org>2001-07-31 04:49:15 +0000
committerBen Lutgens <blutgens@gentoo.org>2001-07-31 04:49:15 +0000
commit8c1043bf22a8c6b825e782b18956f424529d1c96 (patch)
tree96c4f28d19ebcfa8e3ef37ea488dae05c512c972 /sys-apps/apmd
parentI hate that cvs won't handle removing directories (diff)
downloadhistorical-8c1043bf22a8c6b825e782b18956f424529d1c96.tar.gz
historical-8c1043bf22a8c6b825e782b18956f424529d1c96.tar.bz2
historical-8c1043bf22a8c6b825e782b18956f424529d1c96.zip
touch ups
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r--sys-apps/apmd/apmd-3.0.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-apps/apmd/apmd-3.0.1.ebuild b/sys-apps/apmd/apmd-3.0.1.ebuild
index 47bdb21c6db5..6c89818e98df 100644
--- a/sys-apps/apmd/apmd-3.0.1.ebuild
+++ b/sys-apps/apmd/apmd-3.0.1.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Craig Joly <joly@ee.ualberta.ca>
+# Author Ben Lutgens <lamer@gentoo.org>
+# Submitted by Craig Joly <joly@ee.ualberta.ca>
S=${WORKDIR}/${P}
DESCRIPTION="Advanced Power Management Daemon"
@@ -10,8 +11,9 @@ HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/"
src_unpack() {
unpack ${A}
cd ${S}
- sed -e "s:PREFIX=\/usr:PREFIX=\$\{DESTDIR\}\/usr:" Makefile | cat > Makefile
- sed -e "s:install\ \-b \-Vt:\#install\ \-b \-Vt:" Makefile | cat > Makefile
+ sed -e "s:PREFIX=\/usr:PREFIX=\$\{DESTDIR\}\/usr:" Makefile | \
+ sed -e "s:APMD_PROXY_DIR\=\/etc:APMD_PROXY_DIR\=\$\{DESTDIR\}\/etc\/apm:" | \
+ sed -e "97d" | cat > Makefile
}
src_compile() {
@@ -23,7 +25,7 @@ src_compile() {
src_install () {
try make DESTDIR=${D} install
-
+ dodir /etc/apm/{event.d,suspend.d,resume.d}
insinto /etc/apm
insopts -m 0755
doins ${S}/debian/apmd_proxy