1 |
cryos 08/05/08 15:53:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cmake-2.6.0.ebuild |
5 |
Log: |
6 |
Version bump, masked for now until it receives wider testing. |
7 |
(Portage version: 2.1.5_rc7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.72 dev-util/cmake/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.72&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.72&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?r1=1.71&r2=1.72 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v |
19 |
retrieving revision 1.71 |
20 |
retrieving revision 1.72 |
21 |
diff -u -r1.71 -r1.72 |
22 |
--- ChangeLog 22 Feb 2008 18:00:15 -0000 1.71 |
23 |
+++ ChangeLog 8 May 2008 15:53:11 -0000 1.72 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/cmake |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.71 2008/02/22 18:00:15 ingmar Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.72 2008/05/08 15:53:11 cryos Exp $ |
29 |
+ |
30 |
+*cmake-2.6.0 (08 May 2008) |
31 |
+ |
32 |
+ 08 May 2008; Marcus D. Hanwell <cryos@g.o> |
33 |
+ +files/cmake-FindPythonLibs.patch, +cmake-2.6.0.ebuild: |
34 |
+ Version bump, masked for now until it receives wider testing. |
35 |
|
36 |
22 Feb 2008; Ingmar Vanhassel <ingmar@g.o> -cmake-2.0.6-r1.ebuild, |
37 |
-cmake-2.4.3.ebuild, -cmake-2.4.4.ebuild, -cmake-2.4.5.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/cmake/cmake-2.6.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.6.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.6.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cmake-2.6.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.6.0.ebuild,v 1.1 2008/05/08 15:53:11 cryos Exp $ |
51 |
|
52 |
inherit elisp-common toolchain-funcs eutils versionator qt3 flag-o-matic |
53 |
|
54 |
MY_PV="${PV/rc/RC-}" |
55 |
MY_P="${PN}-$(replace_version_separator 3 - ${MY_PV})" |
56 |
|
57 |
DESCRIPTION="Cross platform Make" |
58 |
HOMEPAGE="http://www.cmake.org/" |
59 |
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
60 |
|
61 |
LICENSE="CMake" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
64 |
IUSE="emacs vim-syntax" |
65 |
|
66 |
DEPEND=">=net-misc/curl-7.16.4 |
67 |
>=dev-libs/expat-2.0.1 |
68 |
>=dev-libs/libxml2-2.6.28 |
69 |
>=dev-libs/xmlrpc-c-1.06.09 |
70 |
emacs? ( virtual/emacs ) |
71 |
vim-syntax? ( || ( |
72 |
app-editors/vim |
73 |
app-editors/gvim ) )" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
SITEFILE="50${PN}-gentoo.el" |
77 |
VIMFILE="${PN}.vim" |
78 |
|
79 |
pkg_setup() { |
80 |
if ! built_with_use -o dev-libs/xmlrpc-c curl libwww; then |
81 |
echo |
82 |
eerror "${PN} requires dev-libs/xmlrpc-c to be built with either the 'libwww' or" |
83 |
eerror "the 'curl' USE flag or both enabled." |
84 |
eerror "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"." |
85 |
echo |
86 |
die "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"." |
87 |
fi |
88 |
} |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
cd "${S}" |
93 |
|
94 |
# Link against the shared Python library rather than the static one |
95 |
epatch "${FILESDIR}/${PN}-FindPythonLibs.patch" |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
if [[ "$(gcc-major-version)" -eq "3" ]] ; then |
100 |
append-flags "-fno-stack-protector" |
101 |
fi |
102 |
|
103 |
tc-export CC CXX LD |
104 |
|
105 |
./bootstrap \ |
106 |
--system-libs \ |
107 |
--prefix=/usr \ |
108 |
--docdir=/share/doc/${PF} \ |
109 |
--datadir=/share/${PN} \ |
110 |
--mandir=/share/man || die "./bootstrap failed" |
111 |
emake || die "emake failed." |
112 |
if use emacs; then |
113 |
elisp-compile Docs/cmake-mode.el || die "elisp compile failed" |
114 |
fi |
115 |
} |
116 |
|
117 |
src_test() { |
118 |
emake test || \ |
119 |
einfo "note test failure on qtwrapping was expected - nature of portage rather than a true failure" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
emake install DESTDIR="${D}" || die "install failed" |
124 |
if use emacs; then |
125 |
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc || die "elisp-install failed" |
126 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
127 |
fi |
128 |
if use vim-syntax; then |
129 |
insinto /usr/share/vim/vimfiles/syntax |
130 |
doins "${S}"/Docs/cmake-syntax.vim |
131 |
|
132 |
insinto /usr/share/vim/vimfiles/indent |
133 |
doins "${S}"/Docs/cmake-indent.vim |
134 |
|
135 |
insinto /usr/share/vim/vimfiles/ftdetect |
136 |
doins "${FILESDIR}/${VIMFILE}" |
137 |
fi |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
use emacs && elisp-site-regen |
142 |
} |
143 |
|
144 |
pkg_postrm() { |
145 |
use emacs && elisp-site-regen |
146 |
} |
147 |
|
148 |
|
149 |
|
150 |
-- |
151 |
gentoo-commits@l.g.o mailing list |