Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/hilite: hilite-1.5.ebuild
Date: Fri, 01 Jan 2010 18:26:20
Message-Id: E1NQmCY-0003I7-1Z@stork.gentoo.org
1 ssuominen 10/01/01 18:26:18
2
3 Modified: hilite-1.5.ebuild
4 Log:
5 quoting, respect ldflags while at it
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.15 app-misc/hilite/hilite-1.5.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild?rev=1.15&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild?rev=1.15&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild?r1=1.14&r2=1.15
14
15 Index: hilite-1.5.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild,v
18 retrieving revision 1.14
19 retrieving revision 1.15
20 diff -u -r1.14 -r1.15
21 --- hilite-1.5.ebuild 26 Mar 2008 17:15:27 -0000 1.14
22 +++ hilite-1.5.ebuild 1 Jan 2010 18:26:17 -0000 1.15
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild,v 1.14 2008/03/26 17:15:27 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hilite/hilite-1.5.ebuild,v 1.15 2010/01/01 18:26:17 ssuominen Exp $
29
30 inherit toolchain-funcs
31
32 @@ -8,24 +8,21 @@
33 SRC_URI="mirror://gentoo/${P}.c"
34 DESCRIPTION="A utility which highlights stderr text in red"
35
36 -SLOT="0"
37 -
38 LICENSE="GPL-2"
39 +SLOT="0"
40 KEYWORDS="amd64 ~hppa ~ia64 mips ppc sparc x86"
41 -S=${WORKDIR}
42 -
43 IUSE=""
44 -DEPEND=""
45 +
46 +S=${WORKDIR}
47
48 src_unpack() {
49 - cp ${DISTDIR}/${A} ${WORKDIR}/
50 + cp "${DISTDIR}"/${A} ${WORKDIR}/
51 }
52
53 src_compile() {
54 - $(tc-getCC ) ${CFLAGS} -o ${PN} ${P}.c \
55 - || die "compile failed"
56 + $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c || die
57 }
58
59 src_install() {
60 - dobin ${WORKDIR}/hilite
61 + dobin hilite || die
62 }