commit: 3a64afde18a7c7fca8b18b892ac80fa1ca7a5584 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Mon Jul 23 18:38:32 2018 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Thu Aug 2 20:17:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a64afde
x11-plugins/wmpower: EAPI7, improve ebuild x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 00000000000..6a4a750ff07 --- /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/" +}