Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/Ice: ChangeLog Ice-3.3.0_beta1.ebuild
Date: Wed, 23 Apr 2008 13:25:24
Message-Id: E1JoeyP-0007vZ-Id@stork.gentoo.org
1 caleb 08/04/23 13:25:21
2
3 Modified: ChangeLog
4 Added: Ice-3.3.0_beta1.ebuild
5 Log:
6 Version bump, currently masked
7 (Portage version: 2.1.5_rc4)
8
9 Revision Changes Path
10 1.14 dev-cpp/Ice/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/Ice/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/Ice/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/Ice/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/Ice/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 25 Sep 2007 19:41:02 -0000 1.13
23 +++ ChangeLog 23 Apr 2008 13:25:21 -0000 1.14
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-cpp/Ice
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/ChangeLog,v 1.13 2007/09/25 19:41:02 angelos Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/ChangeLog,v 1.14 2008/04/23 13:25:21 caleb Exp $
30 +
31 +*Ice-3.3.0_beta1 (23 Apr 2008)
32 +
33 + 23 Apr 2008; Caleb Tennis <caleb@g.o>
34 + +files/Ice-3.3.0_beta1-Makefile.patch, +Ice-3.3.0_beta1.ebuild:
35 + Version bump, currently masked
36
37 25 Sep 2007; Christoph Mende <angelos@g.o> Ice-3.2.1.ebuild:
38 Stable on amd64 wrt bug #192139
39
40
41
42 1.1 dev-cpp/Ice/Ice-3.3.0_beta1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/Ice/Ice-3.3.0_beta1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/Ice/Ice-3.3.0_beta1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: Ice-3.3.0_beta1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/Ice-3.3.0_beta1.ebuild,v 1.1 2008/04/23 13:25:21 caleb Exp $
52
53 inherit eutils
54
55 MY_P=Ice-3.3b
56
57 DESCRIPTION="ICE middleware C++ bindings"
58 HOMEPAGE="http://www.zeroc.com/index.html"
59 SRC_URI="http://www.zeroc.com/download/Ice/3.3/${MY_P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~x86"
64 IUSE="ncurses test debug"
65
66 RDEPEND=">=dev-libs/expat-2.0.1
67 >=app-arch/bzip2-1.0.4
68 >=dev-libs/openssl-0.9.8g
69 =sys-libs/db-4.6.21*
70 =dev-cpp/libmcpp-2.6.4"
71
72 DEPEND="${RDEPEND}
73 ncurses? ( sys-libs/ncurses sys-libs/readline )
74 test? ( >=dev-lang/python-2.4 )"
75
76 S=${WORKDIR}/${MY_P}/cpp
77
78 pkg_setup() {
79 if built_with_use sys-libs/db nocxx; then
80 eerror "sys-libs/db must be compiled with C++ support!"
81 eerror "Remove the 'nocxx' use flag and try again."
82 die "Fix use flags and re-emerge"
83 fi
84 }
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89
90 epatch "${FILESDIR}"/${P}-Makefile.patch
91
92 MAKE_RULES="${S}/config/Make.rules"
93
94 #if use amd64; then
95 # sed -i -e "s:^#LP64:LP64:g" "${MAKE_RULES}" \
96 # || die "Failed to set lib64 directory"
97 #fi
98
99 if ! use ncurses; then
100 sed -i -e "s#^USE_READLINE.*#USE_READLINE ?= yes#g" \
101 "${MAKE_RULES}" || die "Failed to set no readline"
102 fi
103
104 if ! use debug; then
105 sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \
106 "${MAKE_RULES}" || die "Failed to remove debug"
107 fi
108
109 sed -i -e \
110 "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \
111 "${MAKE_RULES}.Linux" || die "CXXFLAGS patching failed!"
112 }
113
114 src_compile() {
115 emake || die "make failed"
116 }
117
118 src_install() {
119 emake DESTDIR="${D}" install || die "Install failed"
120 cp -dpR "${S}"/../slice "${D}"/usr/share/Ice
121 }
122
123 src_test() {
124 emake test || die "Test failed"
125 }
126
127
128
129 --
130 gentoo-commits@l.g.o mailing list