diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-07-23 20:38:32 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-08-02 22:17:56 +0200 |
commit | 3a64afde18a7c7fca8b18b892ac80fa1ca7a5584 (patch) | |
tree | ddf46dd3e19d43f90ca7da3dce07854c6fb60b43 /x11-plugins | |
parent | x11-plugins/wmping: EAPI7, improve ebuild (diff) | |
download | gentoo-3a64afde18a7c7fca8b18b892ac80fa1ca7a5584.tar.gz gentoo-3a64afde18a7c7fca8b18b892ac80fa1ca7a5584.tar.bz2 gentoo-3a64afde18a7c7fca8b18b892ac80fa1ca7a5584.zip |
x11-plugins/wmpower: EAPI7, improve ebuild
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
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/" +} |