Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/wmname/
Date: Sun, 05 Feb 2017 19:08:10
Message-Id: 1486321634.64b6e806a3e328d1b635987ff39437946eb536f4.soap@gentoo
1 commit: 64b6e806a3e328d1b635987ff39437946eb536f4
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 5 15:09:48 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 19:07:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b6e806
7
8 x11-misc/wmname: EAPI bump 3 -> 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3830
12
13 x11-misc/wmname/wmname-0.1-r1.ebuild | 31 +++++++++++++++++++++++++++++++
14 1 file changed, 31 insertions(+)
15
16 diff --git a/x11-misc/wmname/wmname-0.1-r1.ebuild b/x11-misc/wmname/wmname-0.1-r1.ebuild
17 new file mode 100644
18 index 00000000..1d4d22d
19 --- /dev/null
20 +++ b/x11-misc/wmname/wmname-0.1-r1.ebuild
21 @@ -0,0 +1,31 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +inherit toolchain-funcs
29 +
30 +DESCRIPTION="utility to set the name of your window manager"
31 +HOMEPAGE="http://tools.suckless.org/x/wmname"
32 +SRC_URI="http://dl.suckless.org/tools/wmname-0.1.tar.gz"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
37 +IUSE=""
38 +
39 +RDEPEND="x11-libs/libX11"
40 +DEPEND="${RDEPEND}"
41 +
42 +PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch )
43 +
44 +src_compile() {
45 + emake CC="$(tc-getCC)" LD="$(tc-getCC)"
46 +}
47 +
48 +src_install() {
49 + emake CC="$(tc-getCC)" LD="$(tc-getCC)" \
50 + PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
51 + einstalldocs
52 +}