Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139283 Details for
Bug 77197
[science overlay] sci-misc/brlcad (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
brlcad-7.10.4-r2
brlcad-7.10.4-r2.ebuild (text/plain), 2.61 KB, created by
dongxu li
on 2007-12-25 15:35:50 UTC
(
hide
)
Description:
brlcad-7.10.4-r2
Filename:
MIME Type:
Creator:
dongxu li
Created:
2007-12-25 15:35:50 UTC
Size:
2.61 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils autotools flag-o-matic multilib > >DESCRIPTION="Powerful Constructive Solid Geometry modeling system." >HOMEPAGE="http://brlcad.org/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="LGPL-2 BSD BDL" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug" > >DEPEND="media-libs/libpng > sys-libs/zlib > dev-tcltk/itcl > dev-tcltk/itk > dev-tcltk/blt > dev-tcltk/iwidgets > media-libs/urt" > >RDEPEND="${DEPEND}" > >brlcadprefix="/usr/brlcad" > >src_unpack() { > unpack ${A} > cd "${S}" > #epatch "${FILESDIR}"/brlcad-tcltk-man_install.patch > # eautoreconf doesn't seem to work, run autogen.sh > epatch ${FILESDIR}/usr-local.patch > filter-ldflags "-Wl,--as-needed" > sh autogen.sh >} > >src_compile() { > cd "${S}" > local myconf > filter-ldflags "-Wl,--as-needed" > myconf="${myconf} --prefix=${brlcadprefix} \ > --libdir=${brlcadprefix}/$(get_libdir) \ > --enable-optimized --enable-tcl-build --enable-tk-build \ > --enable-opennurbs-build=yes --with-pic \ > --with-tag " > use debug && > myconf="${myconf} --enable-debug" || > myconf="${myconf} --disable-debug --enable-optimized" > > econf $myconf || die "configure failed" > emake || die "emake failed" >} > > >src_install() { >einfo install >for f0 in ${S}/src/other/tcl ${S}/src/other/tk; > do > sed -i -e 's/\$(UNIX_DIR)\/installManPage \$(MAN_FLAGS) \$\$i/\[ ! -e \$(TOP_DIR)\/doc\/\$\$i \] || \$(UNIX_DIR)\/installManPage \$(MAN_FLAGS) \$(TOP_DIR)\/doc\/\$\$i/' ${f0}/unix/Makefile > done > > emake DESTDIR="${D}" install || die "emake install failed" > #fix broken symlink > cd ${D}/${brlcadprefix}/$(get_libdir) > rm librtserver.so > ln -s librt.so.19.0.1 librtserver.so > >} > >pkg_postinst() { > #Add the BRL-CAD bin dir to PATH: >einfo "setting up /etc/env.d/99brlcad" > dodir /etc/env.d || die > echo "PATH=${brlcadprefix}/bin" > "${D}"/etc/env.d/99brlcad || die > echo "LDPATH=${brlcadprefix}/$(get_libdir)" >> "${D}"/etc/env.d/99brlcad || die > echo "MANPATH=${brlcadprefix}/man" >> "${D}"/etc/env.d/99brlcad || die > echo "ITK_LIBRARY=$(find ${brlcadprefix}/$(get_libdir) -maxdepth 1 -type d -name 'itk*' -print)" >> "${D}"/etc/env.d/99brlcad || die > echo "ITCL_LIBRARY=$(find ${brlcadprefix}/$(get_libdir) -maxdepth 1 -type d -name 'itcl*' -print)" >> "${D}"/etc/env.d/99brlcad || die > > einfo "The standard starting point for BRL-CAD is the mged" > einfo "command. Examples are available in ${brlcadprefix}/db." > einfo "To run an example, try:" > einfo "${brlcadprefix}/bin/mged ${brlcadprefix}/db/havoc.g" > einfo "In the mged terminal window, type 'draw havoc' to see" > einfo "the wireframe in the visualization window." >}
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 77197
:
48000
|
48159
|
48160
|
49606
|
49673
|
59334
|
59335
|
60113
|
63117
|
65719
|
67659
|
67660
|
67737
|
68339
|
70874
|
78208
|
78209
|
78210
|
79973
|
82390
|
82391
|
89873
|
109012
|
116773
|
118511
|
118543
|
130670
|
131083
|
131085
|
131087
|
131089
|
131091
|
131094
|
131177
|
131178
|
131180
|
131182
|
131183
|
134457
|
134602
|
134848
|
134849
|
136002
|
136013
|
136014
|
139280
|
139282
|
139283
|
139284
|
139319
|
149864
|
152375
|
167322
|
183556
|
186392
|
192384
|
192428
|
193188
|
209074
|
212388
|
212390
|
212391
|
212392
|
212436
|
216212
|
217342
|
220455
|
220457
|
220461
|
221455