From: Michael Mair-Keimberger Date: Mon, 23 Jul 2018 18:38:32 +0000 (+0200) Subject: x11-plugins/wmpower: EAPI7, improve ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3a64afde18a7c7fca8b18b892ac80fa1ca7a5584;p=gentoo.git x11-plugins/wmpower: EAPI7, improve 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/" +}