Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29518 Details for
Bug 25335
ebuild for VTK (visualization toolkit)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
modified ebuild for vtk-4.4.2
vtk-4.4.2.ebuild (text/plain), 2.75 KB, created by
Darren Butler
on 2004-04-17 14:22:25 UTC
(
hide
)
Description:
modified ebuild for vtk-4.4.2
Filename:
MIME Type:
Creator:
Darren Butler
Created:
2004-04-17 14:22:25 UTC
Size:
2.75 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ >inherit distutils > >DESCRIPTION="The Visualization Toolkit" >HOMEPAGE="http://www.vtk.org/" > >SHORT_PV=`echo ${PV} | cut -d. -f1,2` >SRC_URI="ftp://public.kitware.com/pub/vtk/vtk${SHORT_PV}/VTK-${PV}.tar.gz" > >LICENSE="VTK" >SLOT="0" >KEYWORDS="~x86" > >IUSE="doc python tcltk patented" > >RDEPEND="python? ( >=dev-lang/python-2.0 ) > tcltk? ( >=dev-lang/tcl-8.2.3 ) > media-libs/jpeg > media-libs/tiff > media-libs/libpng > sys-libs/zlib > dev-libs/expat" > >DEPEND=">=dev-util/cmake-1.8 > ${RDEPEND}" > >S=${WORKDIR}/VTK > >src_compile() { > > local myconf > > myconf="-DCMAKE_BUILD_TYPE:STRING=Release" > myconf="${myconf} -DCMAKE_INSTALL_PREFIX:PATH=/usr" > myconf="${myconf} -DBUILD_SHARED_LIBS:BOOL=ON" > myconf="${myconf} -DVTK_USE_HYBRID:BOOL=ON" > myconf="${myconf} -DVTK_USE_PARALLEL:BOOL=ON" > myconf="${myconf} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" > myconf="${myconf} -DVTK_USE_SYSTEM_PNG:BOOL=ON" > myconf="${myconf} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" > myconf="${myconf} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" > myconf="${myconf} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" > myconf="${myconf} -DBUILD_TESTING:BOOL=OFF" > > use python && myconf="${myconf} -DVTK_WRAP_PYTHON:BOOL=ON" > use tcltk && myconf="${myconf} -DVTK_WRAP_TCL:BOOL=ON" > use patented && myconf="${myconf} -DVTK_USE_PATENTED:BOOL=ON" > > cmake ${myconf} . || die "cmake configuration failed" > > emake || die "emake failed" >} > >src_install() { > make DESTDIR=${D} install || die "make install failed" > > # Fix the configuration file > cd ${D}/usr/lib/vtk > cat VTKConfig.cmake | sed -e "s:${D}::g" > VTKConfig.cmake.fixed > mv -f VTKConfig.cmake.fixed VTKConfig.cmake > > # The Python wrapping is not installed by 'make install' > if [ `use python` ]; then > cd ${S}/Wrapping/Python > docinto vtk_python > distutils_src_install > > # Fix up the symbolic links > distutils_python_version > rm -f ${D}/usr/lib/python${PYVER}/site-packages/vtk_python/libvtk*Python*.so > find ${D}/usr/lib/vtk -type f -name "libvtk*Python*.so" -exec \ > dosym {} /usr/lib/python${PYVER}/site-packages/vtk_python \; > fi > > if [ `use doc` ]; then > docinto "" > dohtml -r ${WORKDIR}/html/ > > docinto examples > dodoc -r ${S}/Examples > fi > > # env.d stuff > dodir /etc/env.d > echo "LDPATH=/usr/lib/vtk" > ${D}/etc/env.d/40vtk >} > >pkg_postinst() { > if [ `use patented` ]; then > ewarn "Using patented classes in commercial application requires a licence." > ewarn "For more information read" > ewarn "http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq07.005.htp" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25335
:
15053
|
18940
|
26166
|
26170
|
26459
|
29518
|
34161
|
38216
|
38226
|
40814
|
42629
|
43536
|
43555
|
43560
|
45104
|
52215
|
52520
|
52522
|
52524
|
52525
|
52527
|
64079
|
64392