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
commitef2dfc0bf0fdf424d4939cdd831868dee7d29ab0 (patch)
tree6e6aa4bd6638a5efd1e6cac3961f5c5293132a23 /app-laptop/powerprefs/powerprefs-0.8.0.ebuild
parentAdd ~alpha + ~ia64 keywords. (diff)
downloadhistorical-ef2dfc0bf0fdf424d4939cdd831868dee7d29ab0.tar.gz
historical-ef2dfc0bf0fdf424d4939cdd831868dee7d29ab0.tar.bz2
historical-ef2dfc0bf0fdf424d4939cdd831868dee7d29ab0.zip
New version that supports the new config file format of pbbuttonsd-0.8.0
Package-Manager: portage-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
+}