summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-10-14 08:05:13 +0000
committerDonny Davies <woodchip@gentoo.org>2001-10-14 08:05:13 +0000
commit30d39c530d3195d242be5f939ec6a72fe30a4b1a (patch)
treebb44ea7885732b4bfb4e4bef1c71d62ff3267328 /incoming
parentAfterStep to /usr, other small fixes and added some files that i missed (diff)
downloadhistorical-30d39c530d3195d242be5f939ec6a72fe30a4b1a.tar.gz
historical-30d39c530d3195d242be5f939ec6a72fe30a4b1a.tar.bz2
historical-30d39c530d3195d242be5f939ec6a72fe30a4b1a.zip
assimilated incoming apmd fix
Diffstat (limited to 'incoming')
-rw-r--r--incoming/apmd-3.0.1.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/incoming/apmd-3.0.1.ebuild b/incoming/apmd-3.0.1.ebuild
deleted file mode 100644
index 564c441c1499..000000000000
--- a/incoming/apmd-3.0.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Ben Lutgens <lamer@gentoo.org>
-# Submitted by Craig Joly <joly@ee.ualberta.ca>
-# /home/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.1.ebuild,v 1.4 2001/08/31 03:23:39 pm Exp
-
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Advanced Power Management Daemon"
-SRC_URI="ftp://ftp.debian.org/debian/pool/main/a/apmd/apmd_3.0.1-1.tar.gz"
-HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/"
-
-DEPEND="X? ( virtual/x11 )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- 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
- if [ -z "`use X`" ]; then
- sed -e "/^EXES=/s/xapm//" -e "/install.*xapm/d" Makefile | \
- cat > Makefile
- fi
-}
-
-src_compile() {
-
- emake || die
-
-}
-
-src_install () {
-
- make DESTDIR=${D} install || die
- dodir /etc/apm/{event.d,suspend.d,resume.d}
- insinto /etc/apm
- insopts -m 0755
- doins ${S}/debian/apmd_proxy
-
- insinto /etc/rc.d/init.d
- insopts -m 0755
- doins ${FILESDIR}/apmd
- doins ${FILESDIR}/svc-apmd
-
- insinto /var/lib/supervise/services/apmd
- insopts -m 0755
- doins ${FILESDIR}/run
-
- dodoc ANNOUNCE BUGS.apmsleep COPYING COPYING.LIB ChangeLog LSM \
- README README.transfer
-}