diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-10-14 08:05:13 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-10-14 08:05:13 +0000 |
commit | 2bd87d1031a06ae6979aed0af57874a139bc36f7 (patch) | |
tree | 01b687808014a227aa1b76d899320ddf63ac8a6e /incoming | |
parent | AfterStep to /usr, other small fixes and added some files that i missed (diff) | |
download | gentoo-2-2bd87d1031a06ae6979aed0af57874a139bc36f7.tar.gz gentoo-2-2bd87d1031a06ae6979aed0af57874a139bc36f7.tar.bz2 gentoo-2-2bd87d1031a06ae6979aed0af57874a139bc36f7.zip |
assimilated incoming apmd fix
Diffstat (limited to 'incoming')
-rw-r--r-- | incoming/apmd-3.0.1.ebuild | 52 |
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 -} |