summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild')
-rw-r--r--x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild b/x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild
new file mode 100644
index 000000000000..748f74b268be
--- /dev/null
+++ b/x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpi/wmacpi-2.1_rc1.ebuild,v 1.1 2005/01/25 09:32:32 s4t4n Exp $
+
+inherit eutils
+
+IUSE=""
+DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops"
+HOMEPAGE="http://himi.org/wmacpi/"
+MY_PV="2.1rc1"
+MY_P="${PN}-${MY_PV}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://himi.org/wmacpi/download/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 -sparc ~amd64 -ppc"
+
+DEPEND="virtual/x11
+ >=x11-libs/libdockapp-0.5.0"
+
+src_unpack()
+{
+ unpack ${A}
+ epatch ${FILESDIR}/${MY_PV}-windowed.patch
+ epatch ${FILESDIR}/${MY_PV}-nodeps.patch
+}
+
+src_compile()
+{
+ emake OPT="${CFLAGS}" || die
+}
+
+src_install()
+{
+ # Fix for #60685:
+ # acpi and acpi.1 conflict with package sys-apps/acpi
+ mv acpi acpi-batt-status
+ mv acpi.1 acpi-batt-status.1
+
+ dobin wmacpi acpi-batt-status
+ doman wmacpi.1 acpi-batt-status.1
+ dodoc AUTHORS ChangeLog README
+}