1 |
bicatali 13/10/29 17:00:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: root-5.34.10-r2.ebuild |
5 |
Log: |
6 |
Version bump from sci overlay |
7 |
|
8 |
(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 |
|
10 |
Revision Changes Path |
11 |
1.124 sci-physics/root/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/root/ChangeLog?rev=1.124&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/root/ChangeLog?rev=1.124&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/root/ChangeLog?r1=1.123&r2=1.124 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v |
20 |
retrieving revision 1.123 |
21 |
retrieving revision 1.124 |
22 |
diff -u -r1.123 -r1.124 |
23 |
--- ChangeLog 5 Sep 2013 19:44:52 -0000 1.123 |
24 |
+++ ChangeLog 29 Oct 2013 17:00:37 -0000 1.124 |
25 |
@@ -1,7 +1,31 @@ |
26 |
# ChangeLog for sci-physics/root |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.123 2013/09/05 19:44:52 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.124 2013/10/29 17:00:37 bicatali Exp $ |
30 |
|
31 |
+ 15 Oct 2013; Andrew Savchenko <bircoph@×××××.com> -root-5.34.10.ebuild, |
32 |
+ -root-5.34.10-r1.ebuild, root-5.34.10-r2.ebuild, root-9999.ebuild, |
33 |
+ -files/root-5.32.00-nobyte-compile.patch, -files/root-9999-cling.patch: |
34 |
+ Remove old versions and unused patches. WIP on live ebuild. |
35 |
+ |
36 |
+*root-5.34.10-r2 (07 Oct 2013) |
37 |
+ |
38 |
+ 07 Oct 2013; Andrew Savchenko <bircoph@×××××.com> +root-5.34.10-r2.ebuild, |
39 |
+ metadata.xml: |
40 |
+ Add minimal USE flag for minimal and gminimal configurations. Use |
41 |
+ nohouwto to remove useless messages. |
42 |
+ |
43 |
+*root-5.34.10-r1 (06 Oct 2013) |
44 |
+ |
45 |
+ 06 Oct 2013; Andrew Savchenko <bircoph@×××××.com> +root-5.34.10-r1.ebuild: |
46 |
+ Properly use c++0x and oracle deps. |
47 |
+ |
48 |
+*root-5.34.10 (04 Oct 2013) |
49 |
+ |
50 |
+ 04 Oct 2013; Andrew Savchenko <bircoph@×××××.com> -root-5.34.09.ebuild, |
51 |
+ +root-5.34.10.ebuild: |
52 |
+ Version bump per bug 486620 (changes by Oliver Freyermuth). |
53 |
+ Remove old. |
54 |
+ |
55 |
05 Sep 2013; Michał Górny <mgorny@g.o> root-5.34.09.ebuild: |
56 |
Clean up PYTHON_COMPAT from old implementations. |
57 |
|
58 |
|
59 |
|
60 |
|
61 |
1.1 sci-physics/root/root-5.34.10-r2.ebuild |
62 |
|
63 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/root/root-5.34.10-r2.ebuild?rev=1.1&view=markup |
64 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/root/root-5.34.10-r2.ebuild?rev=1.1&content-type=text/plain |
65 |
|
66 |
Index: root-5.34.10-r2.ebuild |
67 |
=================================================================== |
68 |
# Copyright 1999-2013 Gentoo Foundation |
69 |
# Distributed under the terms of the GNU General Public License v2 |
70 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.34.10-r2.ebuild,v 1.1 2013/10/29 17:00:37 bicatali Exp $ |
71 |
|
72 |
EAPI=5 |
73 |
|
74 |
if [[ ${PV} == "9999" ]] ; then |
75 |
_GIT=git-2 |
76 |
EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
77 |
SRC_URI="" |
78 |
KEYWORDS="" |
79 |
else |
80 |
SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz" |
81 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
82 |
fi |
83 |
|
84 |
PYTHON_COMPAT=( python2_{6,7} ) |
85 |
inherit elisp-common eutils fdo-mime fortran-2 ${_GIT} multilib python-single-r1 toolchain-funcs user versionator |
86 |
|
87 |
ROOFIT_DOC_PV=2.91-33 |
88 |
TMVA_DOC_PV=4.03 |
89 |
PATCH_PV=5.28.00b |
90 |
PATCH_PV2=5.32.00 |
91 |
PATCH_PV3=5.34.05 |
92 |
|
93 |
DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
94 |
HOMEPAGE="http://root.cern.ch/" |
95 |
SRC_URI="${SRC_URI} |
96 |
!minimal? ( doc? ( |
97 |
math? ( |
98 |
ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
99 |
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf ) |
100 |
metric? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuideA4.pdf -> ROOTUsersGuideA4-${PV}.pdf ) |
101 |
!metric? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuideLetter.pdf -> ROOTUsersGuideLetter-${PV}.pdf ) |
102 |
htmldoc? ( |
103 |
http://root.cern.ch/drupal/sites/default/files/rootdrawing-logo.png |
104 |
http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/root-banner.png |
105 |
http://root.cern.ch/drupal/sites/all/themes/newsflash/images/info.png ) |
106 |
) )" |
107 |
|
108 |
SLOT="0" |
109 |
LICENSE="LGPL-2.1" |
110 |
IUSE="+X afs avahi c++0x doc emacs examples fits fftw graphviz htmldoc |
111 |
kerberos ldap +math +metric minimal mpi mysql odbc +opengl openmp oracle postgres |
112 |
prefix pythia6 pythia8 python qt4 +reflex ruby sqlite ssl xinetd xml xrootd" |
113 |
|
114 |
REQUIRED_USE=" |
115 |
!X? ( !opengl !qt4 ) |
116 |
htmldoc? ( doc ) |
117 |
mpi? ( math !openmp ) |
118 |
openmp? ( math !mpi ) |
119 |
python? ( ${PYTHON_REQUIRED_USE} )" |
120 |
|
121 |
CDEPEND=" |
122 |
app-arch/xz-utils |
123 |
>=dev-lang/cfortran-4.4-r2 |
124 |
dev-libs/libpcre |
125 |
media-fonts/dejavu |
126 |
media-libs/freetype |
127 |
media-libs/giflib |
128 |
media-libs/libpng:0 |
129 |
media-libs/tiff:0 |
130 |
sys-libs/zlib |
131 |
virtual/jpeg |
132 |
virtual/shadow |
133 |
X? ( |
134 |
media-libs/ftgl |
135 |
media-libs/glew |
136 |
x11-libs/libX11 |
137 |
x11-libs/libXext |
138 |
x11-libs/libXpm |
139 |
!minimal? ( |
140 |
|| ( |
141 |
>=media-libs/libafterimage-1.20[gif,jpeg,png,tiff] |
142 |
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff] |
143 |
) |
144 |
opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps ) |
145 |
qt4? ( |
146 |
dev-qt/qtgui:4 |
147 |
dev-qt/qtopengl:4 |
148 |
dev-qt/qt3support:4 |
149 |
dev-qt/qtsvg:4 |
150 |
dev-qt/qtwebkit:4 |
151 |
dev-qt/qtxmlpatterns:4 |
152 |
) |
153 |
x11-libs/libXft |
154 |
) |
155 |
) |
156 |
!minimal? ( |
157 |
afs? ( net-fs/openafs ) |
158 |
avahi? ( net-dns/avahi ) |
159 |
emacs? ( virtual/emacs ) |
160 |
fits? ( sci-libs/cfitsio ) |
161 |
fftw? ( sci-libs/fftw:3.0 ) |
162 |
graphviz? ( media-gfx/graphviz ) |
163 |
kerberos? ( virtual/krb5 ) |
164 |
ldap? ( net-nds/openldap ) |
165 |
math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) ) |
166 |
mysql? ( virtual/mysql ) |
167 |
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
168 |
oracle? ( dev-db/oracle-instantclient-basic ) |
169 |
postgres? ( dev-db/postgresql-base ) |
170 |
pythia6? ( sci-physics/pythia:6 ) |
171 |
pythia8? ( sci-physics/pythia:8 ) |
172 |
python? ( ${PYTHON_DEPS} ) |
173 |
ruby? ( |
174 |
dev-lang/ruby |
175 |
dev-ruby/rubygems ) |
176 |
sqlite? ( dev-db/sqlite:3 ) |
177 |
ssl? ( dev-libs/openssl ) |
178 |
xml? ( dev-libs/libxml2 ) |
179 |
xrootd? ( >=net-libs/xrootd-3.2.0 ) |
180 |
)" |
181 |
|
182 |
DEPEND="${CDEPEND} |
183 |
virtual/pkgconfig" |
184 |
|
185 |
RDEPEND="${CDEPEND} |
186 |
reflex? ( dev-cpp/gccxml ) |
187 |
xinetd? ( sys-apps/xinetd )" |
188 |
|
189 |
PDEPEND="htmldoc? ( ~app-doc/root-docs-${PV} )" |
190 |
|
191 |
S="${WORKDIR}/${PN}" |
192 |
|
193 |
pkg_setup() { |
194 |
fortran-2_pkg_setup |
195 |
use python && python-single-r1_pkg_setup |
196 |
echo |
197 |
elog "There are extra options on packages not yet in Gentoo:" |
198 |
elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite," |
199 |
elog "HDFS, Monalisa, MaxDB/SapDB, SRP." |
200 |
elog "You can use the env variable EXTRA_ECONF variable for this." |
201 |
elog "For example, for SRP, you would set: " |
202 |
elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\"" |
203 |
echo |
204 |
enewgroup rootd |
205 |
enewuser rootd -1 -1 /var/spool/rootd rootd |
206 |
use minimal && return |
207 |
|
208 |
if use math; then |
209 |
if use openmp; then |
210 |
if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then |
211 |
ewarn "You are using a g++ without OpenMP capabilities" |
212 |
die "Need an OpenMP capable compiler" |
213 |
else |
214 |
export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1 |
215 |
fi |
216 |
elif use mpi; then |
217 |
export USE_MPI=1 USE_PARALLEL_MINUIT2=1 |
218 |
fi |
219 |
fi |
220 |
if use c++0x && [[ $(tc-getCXX) == *g++* ]] && \ |
221 |
! version_is_at_least "4.7" "$(gcc-version)"; then |
222 |
eerror "You are using a g++ without C++0x capabilities" |
223 |
die "Need an C++0x capable compiler" |
224 |
fi |
225 |
} |
226 |
|
227 |
src_prepare() { |
228 |
epatch \ |
229 |
"${FILESDIR}"/${PN}-${PATCH_PV2}-prop-flags.patch \ |
230 |
"${FILESDIR}"/${PN}-${PATCH_PV3}-nobyte-compile.patch \ |
231 |
"${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \ |
232 |
"${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch \ |
233 |
"${FILESDIR}"/${PN}-${PATCH_PV2}-afs.patch \ |
234 |
"${FILESDIR}"/${PN}-${PATCH_PV2}-cfitsio.patch \ |
235 |
"${FILESDIR}"/${PN}-${PATCH_PV2}-chklib64.patch \ |
236 |
"${FILESDIR}"/${PN}-${PATCH_PV2}-dotfont.patch |
237 |
|
238 |
# make sure we use system libs and headers |
239 |
rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die |
240 |
rm -r graf2d/asimage/src/libAfterImage || die |
241 |
rm -r graf3d/ftgl/{inc,src} || die |
242 |
rm -r graf2d/freetype/src || die |
243 |
rm -r graf3d/glew/{inc,src} || die |
244 |
rm -r core/pcre/src || die |
245 |
rm -r math/unuran/src/unuran-*.tar.gz || die |
246 |
LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm -f || die |
247 |
rm -r core/lzma/src/*.tar.gz || die |
248 |
rm graf3d/gl/{inc,src}/gl2ps.* || die |
249 |
sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module.mk || die |
250 |
|
251 |
# In Gentoo, libPythia6 is called libpythia6 |
252 |
# libungif is called libgif, |
253 |
# iodbc is in /usr/include/iodbc |
254 |
# pg_config.h is checked instead of libpq-fe.h |
255 |
sed -i \ |
256 |
-e 's:libPythia6:libpythia6:g' \ |
257 |
-e 's:ungif:gif:g' \ |
258 |
-e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ |
259 |
-e 's:libpq-fe.h:pg_config.h:' \ |
260 |
configure || die "adjusting configure for Gentoo failed" |
261 |
|
262 |
# prefixify the configure script |
263 |
sed -i \ |
264 |
-e 's:/usr:${EPREFIX}/usr:g' \ |
265 |
configure || die "prefixify configure failed" |
266 |
|
267 |
# QTDIR only used for qt3 in gentoo, and configure looks for it. |
268 |
unset QTDIR |
269 |
|
270 |
# Make html docs self-consistent for offline work (based on Fedora spec) |
271 |
if use htmldoc && ! use minimal; then |
272 |
epatch "${FILESDIR}"/${PN}-${PATCH_PV2}-htmldoc.patch |
273 |
# make images local |
274 |
sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \ |
275 |
-i etc/html/ROOT.css || die "htmldoc sed failed" |
276 |
sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \ |
277 |
-i etc/html/ROOT.css || die "htmldoc sed failed" |
278 |
sed 's!http://root.cern.ch/drupal/sites/default/files/!!' \ |
279 |
-i etc/html/header.html || die "htmldoc sed failed" |
280 |
|
281 |
cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} etc/html || |
282 |
die "htmldoc preparation failed" |
283 |
fi |
284 |
} |
285 |
|
286 |
src_configure() { |
287 |
# the configure script is not the standard autotools |
288 |
local mycommonconf=" |
289 |
--prefix="${EPREFIX}"/usr \ |
290 |
--etcdir="${EPREFIX}"/etc/root \ |
291 |
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ |
292 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
293 |
--tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ |
294 |
--testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ |
295 |
--with-cc=$(tc-getCC) \ |
296 |
--with-cxx=$(tc-getCXX) \ |
297 |
--with-f77=$(tc-getFC) \ |
298 |
--with-ld=$(tc-getCXX) \ |
299 |
--nohowto |
300 |
" |
301 |
if use minimal; then |
302 |
./configure \ |
303 |
${mycommonconf} \ |
304 |
$(usex X --gminimal --minimal) \ |
305 |
|| die "configure failed" |
306 |
return |
307 |
fi |
308 |
# cling is disabled because in requires live llvm and clang |
309 |
./configure \ |
310 |
${mycommonconf} \ |
311 |
--with-afs-shared=yes \ |
312 |
--with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \ |
313 |
--disable-builtin-afterimage \ |
314 |
--disable-builtin-ftgl \ |
315 |
--disable-builtin-freetype \ |
316 |
--disable-builtin-glew \ |
317 |
--disable-builtin-pcre \ |
318 |
--disable-builtin-zlib \ |
319 |
--disable-builtin-lzma \ |
320 |
--disable-cling \ |
321 |
--enable-astiff \ |
322 |
--enable-explicitlink \ |
323 |
--enable-gdml \ |
324 |
--enable-memstat \ |
325 |
--enable-shadowpw \ |
326 |
--enable-shared \ |
327 |
--enable-soversion \ |
328 |
--enable-table \ |
329 |
--fail-on-missing \ |
330 |
$(use_enable X x11) \ |
331 |
$(use_enable X asimage) \ |
332 |
$(use_enable X xft) \ |
333 |
$(use_enable afs) \ |
334 |
$(use_enable avahi bonjour) \ |
335 |
$(use_enable c++0x c++11) \ |
336 |
$(use_enable fits fitsio) \ |
337 |
$(use_enable fftw fftw3) \ |
338 |
$(use_enable graphviz gviz) \ |
339 |
$(use_enable kerberos krb5) \ |
340 |
$(use_enable ldap) \ |
341 |
$(use_enable math gsl-shared) \ |
342 |
$(use_enable math genvector) \ |
343 |
$(use_enable math mathmore) \ |
344 |
$(use_enable math minuit2) \ |
345 |
$(use_enable math roofit) \ |
346 |
$(use_enable math tmva) \ |
347 |
$(use_enable math unuran) \ |
348 |
$(use_enable mysql) \ |
349 |
$(use_enable odbc) \ |
350 |
$(use_enable opengl) \ |
351 |
$(use_enable oracle) \ |
352 |
$(use_enable postgres pgsql) \ |
353 |
$(usex postgres "--with-pgsql-incdir=$(pg_config --includedir)" "") \ |
354 |
$(use_enable prefix rpath) \ |
355 |
$(use_enable pythia6) \ |
356 |
$(use_enable pythia8) \ |
357 |
$(use_enable python) \ |
358 |
$(use_enable qt4 qt) \ |
359 |
$(use_enable qt4 qtgsi) \ |
360 |
$(use_enable reflex cintex) \ |
361 |
$(use_enable reflex) \ |
362 |
$(use_enable ruby) \ |
363 |
$(use_enable sqlite) \ |
364 |
$(use_enable ssl) \ |
365 |
$(use_enable xml) \ |
366 |
$(use_enable xrootd) \ |
367 |
${EXTRA_ECONF} \ |
368 |
|| die "configure failed" |
369 |
} |
370 |
|
371 |
src_compile() { |
372 |
emake OPT="${CXXFLAGS}" F77OPT="${FFLAGS}" ROOTSYS="${S}" LD_LIBRARY_PATH="${S}/lib" |
373 |
if use emacs && ! use minimal; then |
374 |
elisp-compile build/misc/*.el || die "elisp-compile failed" |
375 |
fi |
376 |
} |
377 |
|
378 |
doc_install() { |
379 |
cd "${S}" |
380 |
if use doc && ! use minimal; then |
381 |
einfo "Installing user's guides" |
382 |
use metric && dodoc "${DISTDIR}"/ROOTUsersGuideA4-${PV}.pdf || \ |
383 |
dodoc "${DISTDIR}"/ROOTUsersGuideLetter-${PV}.pdf |
384 |
use math && dodoc \ |
385 |
"${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ |
386 |
"${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
387 |
fi |
388 |
|
389 |
if use examples && ! use minimal; then |
390 |
# these should really be taken care of by the root make install |
391 |
insinto /usr/share/doc/${PF}/examples/tutorials/tmva |
392 |
doins -r tmva/test |
393 |
else |
394 |
rm -r "${ED}"/usr/share/doc/${PF}/examples || die |
395 |
fi |
396 |
} |
397 |
|
398 |
daemon_install() { |
399 |
cd "${S}" |
400 |
local daemons="rootd proofd" |
401 |
dodir /var/spool/rootd |
402 |
fowners rootd:rootd /var/spool/rootd |
403 |
dodir /var/spool/rootd/{pub,tmp} |
404 |
fperms 1777 /var/spool/rootd/{pub,tmp} |
405 |
|
406 |
for i in ${daemons}; do |
407 |
newinitd "${FILESDIR}"/${i}.initd ${i} |
408 |
newconfd "${FILESDIR}"/${i}.confd ${i} |
409 |
done |
410 |
if use xinetd; then |
411 |
insinto /etc/xinetd |
412 |
doins etc/daemons/{rootd,proofd}.xinetd |
413 |
fi |
414 |
} |
415 |
|
416 |
desktop_install() { |
417 |
cd "${S}" |
418 |
echo "Icon=root-system-bin" >> etc/root.desktop |
419 |
domenu etc/root.desktop |
420 |
doicon build/package/debian/root-system-bin.png |
421 |
|
422 |
insinto /usr/share/icons/hicolor/48x48/mimetypes |
423 |
doins build/package/debian/application-x-root.png |
424 |
|
425 |
insinto /usr/share/icons/hicolor/48x48/apps |
426 |
doicon build/package/debian/root-system-bin.xpm |
427 |
} |
428 |
|
429 |
src_install() { |
430 |
emake DESTDIR="${D}" install |
431 |
|
432 |
echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root |
433 |
if ! use minimal; then |
434 |
use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root |
435 |
if use python; then |
436 |
echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root |
437 |
python_optimize /usr/$(get_libdir)/root |
438 |
fi |
439 |
use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root |
440 |
fi |
441 |
doenvd 99root |
442 |
|
443 |
# The build system installs Emacs support unconditionally and in the wrong |
444 |
# directory. Remove it and call elisp-install in case of USE=emacs. |
445 |
rm -r "${ED}"/usr/share/emacs |
446 |
if use emacs && ! use minimal; then |
447 |
elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed" |
448 |
fi |
449 |
|
450 |
doc_install |
451 |
daemon_install |
452 |
desktop_install |
453 |
|
454 |
# Cleanup of files either already distributed or unused on Gentoo |
455 |
rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} || die |
456 |
rm "${ED}"usr/share/root/fonts/LICENSE || die |
457 |
pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null |
458 |
rm posix/mktypes dll_stl/setup \ |
459 |
G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o || die |
460 |
rm "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib || die |
461 |
rm "${ED}"/etc/root/proof/*.sample || die |
462 |
rm -r "${ED}"/etc/root/daemons || die |
463 |
popd > /dev/null |
464 |
# these should be in PATH |
465 |
mv "${ED}"etc/root/proof/utils/pq2/pq2* \ |
466 |
"${ED}"usr/bin/ || die |
467 |
} |
468 |
|
469 |
pkg_postinst() { |
470 |
fdo-mime_desktop_database_update |
471 |
} |
472 |
|
473 |
pkg_postrm() { |
474 |
fdo-mime_desktop_database_update |
475 |
} |