Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-calculators/hcalc: ChangeLog hcalc-1.0.ebuild hcalc-1.0-r1.ebuild
Date: Wed, 23 Feb 2011 07:32:18
Message-Id: 20110223073208.604EB20057@flycatcher.gentoo.org
1 jlec 11/02/23 07:32:08
2
3 Modified: ChangeLog hcalc-1.0.ebuild
4 Added: hcalc-1.0-r1.ebuild
5 Log:
6 Respect LDFLAGS, #335339
7
8 (Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 sci-calculators/hcalc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 24 Mar 2008 16:44:47 -0000 1.8
24 +++ ChangeLog 23 Feb 2011 07:32:08 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-calculators/hcalc
27 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/ChangeLog,v 1.8 2008/03/24 16:44:47 coldwind Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/ChangeLog,v 1.9 2011/02/23 07:32:08 jlec Exp $
31 +
32 +*hcalc-1.0-r1 (23 Feb 2011)
33 +
34 + 23 Feb 2011; Justin Lecher <jlec@g.o> +files/1.0-gentoo.patch,
35 + hcalc-1.0.ebuild, +hcalc-1.0-r1.ebuild:
36 + Respect LDFLAGS, #335339
37
38 24 Mar 2008; Santiago M. Mola <coldwind@g.o> hcalc-1.0.ebuild:
39 amd64 stable
40
41
42
43 1.8 sci-calculators/hcalc/hcalc-1.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild?rev=1.8&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild?rev=1.8&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild?r1=1.7&r2=1.8
48
49 Index: hcalc-1.0.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild,v
52 retrieving revision 1.7
53 retrieving revision 1.8
54 diff -u -r1.7 -r1.8
55 --- hcalc-1.0.ebuild 24 Mar 2008 16:44:47 -0000 1.7
56 +++ hcalc-1.0.ebuild 23 Feb 2011 07:32:08 -0000 1.8
57 @@ -1,18 +1,22 @@
58 -# Copyright 1999-2008 Gentoo Foundation
59 +# Copyright 1999-2011 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild,v 1.7 2008/03/24 16:44:47 coldwind Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/hcalc-1.0.ebuild,v 1.8 2011/02/23 07:32:08 jlec Exp $
63
64 DESCRIPTION="DJ's Hex Calculator"
65 HOMEPAGE="http://www.delorie.com/store/hcalc/"
66 SRC_URI="http://www.delorie.com/store/hcalc/${PN}.tar.gz"
67 +
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="amd64 ppc x86"
71 IUSE=""
72
73 -DEPEND="x11-libs/libXpm"
74 +RDEPEND="
75 + x11-libs/libX11
76 + x11-libs/libXpm"
77 +DEPEND="${RDEPEND}"
78
79 -S=${WORKDIR}
80 +S="${WORKDIR}"
81
82 src_compile() {
83 sed 's|'-lX11'|'"-lX11 -L/usr/X11R6/lib"'|' Makefile > Makefile_fixed
84 @@ -20,7 +24,7 @@
85 }
86
87 src_install() {
88 - dobin hcalc
89 + dobin hcalc || die
90 }
91
92 pkg_postinst() {
93
94
95
96 1.1 sci-calculators/hcalc/hcalc-1.0-r1.ebuild
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/hcalc-1.0-r1.ebuild?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/hcalc/hcalc-1.0-r1.ebuild?rev=1.1&content-type=text/plain
100
101 Index: hcalc-1.0-r1.ebuild
102 ===================================================================
103 # Copyright 1999-2011 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/hcalc/hcalc-1.0-r1.ebuild,v 1.1 2011/02/23 07:32:08 jlec Exp $
106
107 EAPI="4"
108
109 inherit eutils toolchain-funcs
110
111 DESCRIPTION="DJ's Hex Calculator"
112 HOMEPAGE="http://www.delorie.com/store/hcalc/"
113 SRC_URI="http://www.delorie.com/store/hcalc/${PN}.tar.gz"
114
115 LICENSE="GPL-2"
116 SLOT="0"
117 KEYWORDS="~amd64 ~ppc ~x86"
118 IUSE=""
119
120 RDEPEND="
121 x11-libs/libX11
122 x11-libs/libXpm"
123 DEPEND="${RDEPEND}"
124
125 S="${WORKDIR}"
126
127 src_prepare() {
128 epatch "${FILESDIR}"/${PV}-gentoo.patch
129 tc-export CC
130 }
131
132 src_install() {
133 dobin hcalc || die
134 }
135
136 pkg_postinst() {
137 einfo "Enter hcalc to run and use kill or ctrl-c to exit."
138 }