Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136550 Details for
Bug 176455
[science overlay] sci-libs/cgnstools sci-libs/cgnslib sci-libs/cgnsfoam (New ebuilds)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
working version bump
cgnstools-2.5.2.ebuild (text/plain), 2.22 KB, created by
Oliver Borm
on 2007-11-20 21:53:08 UTC
(
hide
)
Description:
working version bump
Filename:
MIME Type:
Creator:
Oliver Borm
Created:
2007-11-20 21:53:08 UTC
Size:
2.22 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit versionator multilib > >MY_P="${PN}-$(replace_all_version_separators '-')" >MY_LIB_PN="cgnslib_" >MY_LIB_P="${MY_LIB_PN}$(replace_version_separator 2 '-')" >MY_LIB_SHORT_P="${MY_LIB_PN}$(get_version_component_range 1-2 ${PV})" > >DESCRIPTION="The CFD General Notation System (CGNS) tools." >HOMEPAGE="http://www.cgns.org/" >SRC_URI="mirror://sourceforge/cgns/${MY_P}.tar.gz > mirror://sourceforge/cgns/${MY_LIB_P}.tar.gz" > >LICENSE="ZLIB" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="fortran tcl tk hdf5 szip zlib X" > >RDEPEND="sci-libs/cgnslib > tcl? ( dev-lang/tcl ) > tk? ( dev-lang/tk )" > >DEPEND="${RDEPEND}" > >S="${WORKDIR}"/"${PN}" > >src_compile() { > sed -i -e "s| g77 | gfortran |" \ > -e 's|-Wl,-rpath,$cgnsdir/\\$(SYSTEM)|-Wl,-soname,libcgns.so|' \ > -e 's|-Wl,-R,$cgnsdir/\\$(SYSTEM)|-Wl,-soname,libcgns.so|' "${WORKDIR}"/"${MY_LIB_SHORT_P}"/configure > > local myconf > use amd64 && myconf="${myconf} --enable-64bit" > myconf="${myconf} --enable-gcc" > myconf_lib="${myconf} --enable-lfs --enable-shared" > > cd "${WORKDIR}/${MY_LIB_SHORT_P}" > econf \ > $(use_with fortran) \ > $(use_with hdf5) \ > $(use_with zlib) \ > $(use_with szip) \ > ${myconf_lib} \ > || die "econf failed" > > cd "${S}" > > sed -i -e "s|@STRIP@|true|" \ > -e "s|\\\$(EXE_INSTALL_DIR)/cgnswish|\\\$(EXE_INSTALL_DIR)|" "${S}"/make.defs.in > > sed -i -e "s|CGNSLIB=\\\\\\$\\\(CGNSDIR\\\)/lib/\\\\\\$\\\(LIBCGNS\\\)|CGNSLIB=/usr/$(get_libdir)/libcgns.so|" \ > -e "s|CGNSLIB=\\\\\\$\\\(CGNSDIR\\\)/\\\\\\$\\\(LIBCGNS\\\)|CGNSLIB=/usr/$(get_libdir)/libcgns.so|" \ > -e "s|CGNSLIB=\\\$adfhdir/\\\\\\$\\\(SYSTEM\\\)/libcgns.\\\\\\$\\\(A\\\)|CGNSLIB=/usr/$(get_libdir)/libcgns.so|" \ > -e "s|/unix/|/../|" \ > -e "s|BIN_INSTALL_DIR/\\\$SYSTEM|BIN_INSTALL_DIR|" "${S}"/configure > > myconf="${myconf} --with-cgns=${WORKDIR}/${MY_LIB_SHORT_P} --bindir=${D}/usr/bin --datadir=${D}/usr/share/${PN}" > > econf \ > $(use_with X x) \ > $(use_with tcl tcl /usr/$(get_libdir)/tcl8.4) \ > $(use_with tk tk /usr/$(get_libdir)/tk8.4) \ > ${myconf} \ > || die "econf failed" > > emake || die "emake tools failed" >} > >src_install() { > sed -i -e "s|${D}||" "${S}"/cgconfig > > emake DESTDIR="${D}" install || die "install failed" >}
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 176455
:
117635
|
117637
|
117638
|
125985
|
125987
|
136548
| 136550 |
136652
|
137080
|
160393