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