summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2006-10-22 01:21:31 +0000
committerDavid Shakaryan <omp@gentoo.org>2006-10-22 01:21:31 +0000
commit6190ec2165bcd344f96fa6da1fcd6256f1ae66b4 (patch)
tree2f6f3b85ef0c5fb326acbab852f8c907d4998a4b /x11-misc/grabc
parentUse tabs instead of spaces. (diff)
downloadgentoo-2-6190ec2165bcd344f96fa6da1fcd6256f1ae66b4.tar.gz
gentoo-2-6190ec2165bcd344f96fa6da1fcd6256f1ae66b4.tar.bz2
gentoo-2-6190ec2165bcd344f96fa6da1fcd6256f1ae66b4.zip
Remove monolithic X from dependencies, remove src_compile.
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'x11-misc/grabc')
-rw-r--r--x11-misc/grabc/ChangeLog5
-rw-r--r--x11-misc/grabc/grabc-1.1.ebuild14
2 files changed, 9 insertions, 10 deletions
diff --git a/x11-misc/grabc/ChangeLog b/x11-misc/grabc/ChangeLog
index a272939bd6c8..010aa47b0b06 100644
--- a/x11-misc/grabc/ChangeLog
+++ b/x11-misc/grabc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/grabc
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/grabc/ChangeLog,v 1.9 2006/01/21 19:31:56 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/grabc/ChangeLog,v 1.10 2006/10/22 01:21:31 omp Exp $
+
+ 22 Oct 2006; David Shakaryan <omp@gentoo.org> grabc-1.1.ebuild:
+ Remove monolithic X from dependencies, remove src_compile.
21 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> grabc-1.1.ebuild:
Fixed DEPEND for modular X.
diff --git a/x11-misc/grabc/grabc-1.1.ebuild b/x11-misc/grabc/grabc-1.1.ebuild
index 4b912ffee0ae..f2cf293735ad 100644
--- a/x11-misc/grabc/grabc-1.1.ebuild
+++ b/x11-misc/grabc/grabc-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/grabc/grabc-1.1.ebuild,v 1.9 2006/01/21 19:31:56 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/grabc/grabc-1.1.ebuild,v 1.10 2006/10/22 01:21:31 omp Exp $
S="${WORKDIR}/${PN}${PV}"
DESCRIPTION="A simple but useful program to determine the color string in hex (or RGB components) by clicking on a pixel on the screen"
@@ -8,28 +8,24 @@ HOMEPAGE="http://www.muquit.com/muquit/software/grabc/grabc.html"
SRC_URI="http://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc ppc64 amd64"
SLOT="0"
+KEYWORDS="x86 ppc ppc64 amd64"
IUSE=""
-RDEPEND="|| ( x11-libs/libX11 virtual/x11 )"
+RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
- || ( x11-proto/xproto virtual/x11 )
+ x11-proto/xproto
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i \
-e "s/-O/${CFLAGS}/" Makefile || \
die "sed Makefile failed"
}
-src_compile() {
- emake || die "emake failed"
-}
-
src_install() {
dobin grabc || die "dobin failed"
dodoc README || die "dodoc failed"