summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2007-03-12 01:56:31 +0000
committerJoseph Jezak <josejx@gentoo.org>2007-03-12 01:56:31 +0000
commited58b6eae94c7baf3beb55364811cc1c86a22c28 (patch)
tree94722a1c6dedc876d1e9aa397e7e3e17d682acca /app-laptop/powerprefs/powerprefs-0.8.0.ebuild
parentAdd ~alpha + ~ia64 keywords. (diff)
downloadgentoo-2-ed58b6eae94c7baf3beb55364811cc1c86a22c28.tar.gz
gentoo-2-ed58b6eae94c7baf3beb55364811cc1c86a22c28.tar.bz2
gentoo-2-ed58b6eae94c7baf3beb55364811cc1c86a22c28.zip
New version that supports the new config file format of pbbuttonsd-0.8.0
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-laptop/powerprefs/powerprefs-0.8.0.ebuild')
-rw-r--r--app-laptop/powerprefs/powerprefs-0.8.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-laptop/powerprefs/powerprefs-0.8.0.ebuild b/app-laptop/powerprefs/powerprefs-0.8.0.ebuild
new file mode 100644
index 000000000000..55ac1dc849ff
--- /dev/null
+++ b/app-laptop/powerprefs/powerprefs-0.8.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/powerprefs/powerprefs-0.8.0.ebuild,v 1.1 2007/03/12 01:56:31 josejx Exp $
+
+DESCRIPTION="program to interface with pbbuttonsd (Powerbook/iBook) keys"
+HOMEPAGE="http://pbbuttons.sf.net"
+SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc"
+IUSE=""
+
+DEPEND=">=x11-libs/gtk+-2.4
+ >=app-laptop/pbbuttonsd-0.8.0"
+
+src_compile() {
+ econf --prefix=/usr || die "powerprefs configure failed"
+ emake || die "sorry, powerprefs compile failed"
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ datadir=${D}/usr/share \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die "sorry, failed to install powerprefs"
+ dodoc README
+}