1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 DESCRIPTION="yet another dock application showing a system load gauge"
9 HOMEPAGE="http://windowmaker.org/dockapps/?name=wmload"
10 # Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
11 SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
18 RDEPEND="x11-libs/libX11
27 epatch "${FILESDIR}"/${P}-solaris.patch
31 emake CC="$(tc-getCC)"
35 emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
38 domenu "${FILESDIR}"/${PN}.desktop