summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-08-30 22:04:52 +0000
committerDonny Davies <woodchip@gentoo.org>2001-08-30 22:04:52 +0000
commit597ca7bc6ead46c1c1200a56d591db0154a08ff7 (patch)
treef731cc4c608c60bd93d75c5da41b77d125dcc561 /x11-misc/bbapm
parent*** empty log message *** (diff)
downloadgentoo-2-597ca7bc6ead46c1c1200a56d591db0154a08ff7.tar.gz
gentoo-2-597ca7bc6ead46c1c1200a56d591db0154a08ff7.tar.bz2
gentoo-2-597ca7bc6ead46c1c1200a56d591db0154a08ff7.zip
moved bb apps to x11-misc
Diffstat (limited to 'x11-misc/bbapm')
-rw-r--r--x11-misc/bbapm/bbapm-0.0.1.ebuild27
-rw-r--r--x11-misc/bbapm/files/digest-bbapm-0.0.11
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-misc/bbapm/bbapm-0.0.1.ebuild b/x11-misc/bbapm/bbapm-0.0.1.ebuild
new file mode 100644
index 000000000000..e79db2c219a2
--- /dev/null
+++ b/x11-misc/bbapm/bbapm-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# 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>
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbapm/bbapm-0.0.1.ebuild,v 1.1 2001/08/30 22:04:52 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="blackbox advanced power management tool"
+SRC_URI="http://bbtools.thelinuxcommunity.org/sources/${P}.tar.gz"
+HOMEPAGE="http://bbtools.thelinuxcommunity.org/contrib.phtml"
+
+DEPEND=">=x11-wm/blackbox-0.61
+ >=sys-apps/apmd-3.0.1"
+
+src_compile() {
+ ./configure --prefix=/usr/X11R6 --host=${CHOST} || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
+}
+
+pkg_postinst() {
+ cd ${ROOT}usr/X11R6/bin/wm
+ sed -e "s/.*blackbox/exec \/usr\/X11R6\/bin\/bbapm \&\n&/" blackbox | cat > blackbox
+}
diff --git a/x11-misc/bbapm/files/digest-bbapm-0.0.1 b/x11-misc/bbapm/files/digest-bbapm-0.0.1
new file mode 100644
index 000000000000..33ef2d23d594
--- /dev/null
+++ b/x11-misc/bbapm/files/digest-bbapm-0.0.1
@@ -0,0 +1 @@
+MD5 4d2629959bd907696c7765b7c34bc54f bbapm-0.0.1.tar.gz