Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196300 Details for
Bug 77969
[science overlay] Ebuilds for DRAWxtl 44 and 54
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild for DRAWxtl54
drawxtl-54.ebuild (text/plain), 2.23 KB, created by
Hannes Krüger
on 2009-07-01 23:41:08 UTC
(
hide
)
Description:
new ebuild for DRAWxtl54
Filename:
MIME Type:
Creator:
Hannes Krüger
Created:
2009-07-01 23:41:08 UTC
Size:
2.23 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >MY_PN="DRAWxtl" >MY_P=${MY_PN}${PV} >DESCRIPTION="This software can be used to produce crystal structure drawings from structural data" >HOMEPAGE="http://www.lwfinger.net/drawxtl/" >SRC_URI="http://home.att.net/~larry.finger/drawxtl/${MY_P}.tar.gz" > >LICENSE="GPL-2" >SLOT="5" >KEYWORDS="~amd64 ~x86" >IUSE="examples" > >DEPEND="virtual/opengl > virtual/glut > virtual/glu > >=x11-libs/fltk-1.1.6" >RDEPEND="${DEPEND}" > >S="${WORKDIR}/${MY_PN}" > >src_unpack() { > unpack ${A} > cd "${S}"/source > sed -i -e "s:-g:${CFLAGS} `fltk-config --cxxflags`:" -e "s:-lXinerama::g" ${MY_P}/Makefile || die "sed failed" > sed -i -e "52c\LINKFLTKGL=`fltk-config --ldflags` -lfltk_gl" ${MY_P}/Makefile || die "sed failed" > # the build system uses -DFREEGLUT24 if freeglut-2.4 is present. We will warn about that in pgk_postinst > # see comment there > if ! has_version "=media-libs/freeglut-2.4*"; then > sed -i -e "s:-DFREEGLUT24::g" ${MY_P}/Makefile || die "sed failed" > fi >} > >src_compile() { > cd source/${MY_P} > emake || die "Build of ${MY_PN} failed" >} > >src_install() { > dobin exe/${MY_P} || die "dobin failed" > > dodoc docs/readme.txt || die "dobin failed" > insinto /usr/share/doc/${P} > doins docs/*.pdf || die "doins failed" > > if use examples; then > docinto examples > dodoc examples/* || die "dodoc failed" > fi >} > >pkg_postinst() { > # DRAWxtl works around some bug in freeglut-2.4. Unless we have more information, which versions are > # affected, I would like to keep it like this. > # A patch for DRAWxtl to add a runtime-check could be considered later. > if has_version "=media-libs/freeglut-2.4*"; then > elog > elog "${MY_P} was build for beeing used with freeglut-2.4" > elog "If you change to a different glut, you should rebuild ${MY_P}" > elog > else > elog > elog "If you change your glut library to freeglut-2.4, you will have to rebuild ${MY_P}" > elog > fi > einfo > einfo "If you use DRAWxtl for your publications you can cite it as:" > einfo " Larry W. Finger, Martin Kroeker, and Brian H. Toby (2007):" > einfo " DRAWxtl, an open-source computer program to produce crystal-structure drawings" > einfo " J. Appl. Crystallogr. 40, 188-192" > einfo >}
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 77969
:
48458
|
48459
|
48826
|
66748
|
66750
|
134758
|
134760
|
134762
|
134764
|
134803
|
134807
|
135244
|
196298
|
196300
|
197193
|
197195
|
251123
|
251125