x11-misc/grabc: EAPI bump 0 -> 6, Fix DESCRIPTION.toolong
authorHarri Nieminen <moikkis@gmail.com>
Tue, 7 Feb 2017 13:47:08 +0000 (15:47 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 7 Feb 2017 17:44:36 +0000 (18:44 +0100)
Also use https for links

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3862

x11-misc/grabc/grabc-1.1-r1.ebuild
x11-misc/grabc/grabc-1.1-r2.ebuild [new file with mode: 0644]

index 05b5805d092c3d92f4c0e24963379c188eaee8c4..5d685bde8d15d2f2c11aa80a5050fdbbe03fcbb6 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 inherit eutils toolchain-funcs
 
 S="${WORKDIR}/${PN}${PV}"
-DESCRIPTION="determine the color string in hex (or RGB components) by clicking on a pixel on the screen"
-HOMEPAGE="http://www.muquit.com/muquit/software/grabc/grabc.html"
-SRC_URI="http://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
+DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
+HOMEPAGE="https://www.muquit.com/muquit/software/grabc/grabc.html"
+SRC_URI="https://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
diff --git a/x11-misc/grabc/grabc-1.1-r2.ebuild b/x11-misc/grabc/grabc-1.1-r2.ebuild
new file mode 100644 (file)
index 0000000..b51d897
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
+HOMEPAGE="https://www.muquit.com/muquit/software/grabc/grabc.html"
+SRC_URI="https://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+       x11-proto/xproto"
+
+S="${WORKDIR}/${PN}${PV}"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+       tc-export CC
+       default
+}
+
+src_install() {
+       dobin grabc
+       einstalldocs
+}