From 3a64afde18a7c7fca8b18b892ac80fa1ca7a5584 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 23 Jul 2018 20:38:32 +0200 Subject: x11-plugins/wmpower: EAPI7, improve ebuild --- x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild diff --git a/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild new file mode 100644 index 000000000000..6a4a750ff072 --- /dev/null +++ b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI +and CPUfreq)" +HOMEPAGE="http://wmpower.sourceforge.net/" +SRC_URI="mirror://sourceforge/wmpower/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +DOCS=( AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO ) + +src_compile() { + # override wmpower self-calculated cflags + econf MY_CFLAGS="${CFLAGS}" + emake prefix="/usr/" +} -- cgit v1.2.3-65-gdbad