Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346784 Details for
Bug 438466
sci-libs/opencascade-6.5.4 sci-libs/opencascade-6.6.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
opencascade-6.5.5.ebuild
opencascade-6.5.5.ebuild (text/plain), 4.13 KB, created by
Sławek Lis (RETIRED)
on 2013-04-28 12:45:13 UTC
(
hide
)
Description:
opencascade-6.5.5.ebuild
Filename:
MIME Type:
Creator:
Sławek Lis (RETIRED)
Created:
2013-04-28 12:45:13 UTC
Size:
4.13 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 >inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic > >DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange" >HOMEPAGE="http://www.opencascade.org/" >SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/OpenCASCADE655.tgz" > >LICENSE="Open-CASCADE-Technology-Public-License-6.5" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug doc examples freeimage gl2ps java" > >DEPEND=" > media-libs/ftgl > virtual/glu > virtual/opengl > x11-libs/libXmu > >=dev-lang/tcl-8.4 > >=dev-lang/tk-8.4 > >=dev-tcltk/itcl-3.2 > >=dev-tcltk/itk-3.2 > >=dev-tcltk/tix-8.4.2 > gl2ps? ( x11-libs/gl2ps ) > freeimage? ( media-libs/freeimage ) >" >RDEPEND=${DEPEND} > >S=${WORKDIR}/ros > >RESTRICT="bindist mirror" ># http://bugs.gentoo.org/show_bug.cgi?id=352435 ># http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt > >CHECKREQS_MEMORY="256M" >CHECKREQS_DISK_BUILD="3584M" > >pkg_setup() { > check-reqs_pkg_setup > java-pkg-opt-2_pkg_setup > > # Determine itk, itcl, tix, tk and tcl versions > itk_version=$(grep ITK_VER /usr/include/itk.h | sed 's/^.*"\(.*\)".*/\1/') > itcl_version=$(grep ITCL_VER /usr/include/itcl.h | sed 's/^.*"\(.*\)".*/\1/') > tix_version=$(grep TIX_VER /usr/include/tix.h | sed 's/^.*"\(.*\)".*/\1/') > tk_version=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') > tcl_version=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') >} > >src_prepare() { > java-pkg-opt-2_src_prepare > > sed \ > -e '/AM_C_PROTOTYPES/d' \ > -i configure.ac || die > > epatch "${FILESDIR}"/${P}-fixed-DESTDIR.patch > epatch "${FILESDIR}"/${P}-tcl.patch > epatch "${FILESDIR}"/${P}-automake-1.13.patch > > eautoreconf >} > >src_configure() { > INSTALL_DIR=${ROOT}usr/$(get_libdir)/${P}/ros > > econf \ > "--prefix="${INSTALL_DIR}"/lin" \ > "--exec-prefix=${INSTALL_DIR}/lin" \ > "--with-tcl=${ROOT}usr/$(get_libdir)" \ > "--with-tk=${ROOT}usr/$(get_libdir)" \ > "--with-freetype=${ROOT}usr" \ > "--with-ftgl=${ROOT}usr" \ > $(use gl2ps && "${ROOT}usr") \ > $(use_with freeimage freeimage "${ROOT}usr") \ > $(use_with java java-include $(java-config -O)/include) \ > $(use_enable debug ) $(use_enable !debug production ) > > export CASROOT=${INSTALL_DIR}/lin > export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CASROOT}/lib >} > >src_install() { > emake DESTDIR="${D}" install > > prune_libtool_files > > # Symlinks for keeping original OpenCascade folder structure and > # add a link lib to $(get_libdir) if we are e.g. on amd64 multilib > if [ "$(get_libdir)" != "lib" ]; then > dosym "$(get_libdir)" "${INSTALL_DIR}/lin/lib" > fi > > # Tweak the environment variables script again with new destination > cp "${FILESDIR}"/env.sh.template env.sh > > INSTALL_DIR=${ROOT}usr/$(get_libdir)/${P}/ros > sed -i \ > -e "s:VAR_CASROOT:"${INSTALL_DIR}"/lin:g" \ > env.sh \ > || die > > # Build the env.d environment variables > cp "${FILESDIR}"/env.sh.template 50${PN} || die > sed -i \ > -e 's:export ::g' \ > -e "s:VAR_CASROOT:${INSTALL_DIR}/lin:g" \ > -e '1,2d' \ > -e '4,14d' \ > -e "s:/Linux/lib/:/$(get_libdir)/:g" ./50${PN} \ > || die "Creation of the /etc/env.d/50opencascade failed!" > > sed -i "2i\PATH=${INSTALL_DIR}/lin/bin\nLDPATH=${INSTALL_DIR}/lin/$(get_libdir)" ./50${PN} \ > || die "Creation of the /etc/env.d/50opencascade failed!" > > # Update both env.d and script with the libraries variables > sed -i \ > -e 's:VAR_SYS_BIN:/usr/bin:g' \ > -e "s:VAR_SYS_LIB:/usr/$(get_libdir):g" \ > -e "s:VAR_ITK:itk${itk_version}:g" \ > -e "s:VAR_ITCL:itcl${itcl_version}:g" \ > -e "s:VAR_TIX:tix${tix_version}:g" \ > -e "s:VAR_TK:tk${tk_version}:g" \ > -e "s:VAR_TCL:tcl${tcl_version}:g" env.sh 50${PN} \ > || die "Tweaking of the Tcl/Tk libraries location in env.sh and 50opencascade failed!" > > # Install the env.d variables file > doenvd 50${PN} > > cd "${S}"/../ || die > > if use examples; then > insinto /usr/share/doc/${PF}/examples > doins -r data > > insinto /usr/share/doc/${PF}/examples > doins -r samples > fi > > cd "${S}"/../doc || die > dodoc *.pdf > > # Install the documentation > if use doc; then > insinto /usr/share/doc/${PF} > doins -r {overview,ReferenceDocumentation} > 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 438466
:
326590
|
326592
|
326594
|
326596
|
335674
|
335676
|
335678
|
346784
|
346786