Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 106981 Details for
Bug 135551
dev-scheme/gambit-4.0_beta20 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gambit-4.0_beta20.ebuild
gambit-4.0_beta20-r1.ebuild (text/plain), 2.42 KB, created by
Marijn Schouten (RETIRED)
on 2007-01-14 18:37:38 UTC
(
hide
)
Description:
gambit-4.0_beta20.ebuild
Filename:
MIME Type:
Creator:
Marijn Schouten (RETIRED)
Created:
2007-01-14 18:37:38 UTC
Size:
2.42 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils elisp-common check-reqs autotools > >MY_PN=gambc >MY_PV=${PV//_beta/b} >MY_P=${MY_PN}-${MY_PV} > >DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter." >HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" >SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/4.0/source/${MY_P}.tar.gz" > >LICENSE="Apache-2.0 LGPL-2.1" >SLOT="0" >KEYWORDS="~amd64 ~ppc64 ~x86" > >DEPEND="emacs? ( virtual/emacs )" > >SITEFILE="50gambit-gentoo.el" > >S=${WORKDIR}/${MY_P} > >IUSE="emacs gcc-opts" > >pkg_setup() { > if ! use gcc-opts; then > ewarn "Not using gcc specific optimizations" > ewarn "Approximately 0.5GB ram will be needed" > ewarn "If you experience thrashing, try disabling parallel building" > # need this much memory in MBytes (does *not* check swap) > CHECKREQS_MEMORY="768"check_reqs > else > ewarn "Using gcc specific optimizations." > ewarn "This will cause approximately 2GB ram to be used instead of 0.5GB." > ewarn "This will probably cause heavy thrashing of your system." > # need this much memory in MBytes (does *not* check swap) > CHECKREQS_MEMORY="2560" check_reqs > fi >} > >src_unpack() { > unpack ${A} && cd "${S}" > sed "s/PACKAGE_SUBDIR=\"\/${MY_PV}\"/PACKAGE_SUBDIR=\"\/\"/" -i configure.ac > eautoreconf >} > >src_compile() { > econf --enable-shared --enable-single-host $(use_enable gcc-opts) > emake || die "emake failed" > > if use emacs; then > ( cd misc; elisp-comp *.el ) > fi >} > >src_install() { > einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed" > > dodir /usr/lib > mv ${D}/usr/syntax-case.scm ${D}/usr/lib/syntax-case.scm > # rename the /usr/bin/gsc to avoid collision with gsc from ghostscript > mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit > > # remove emacs/site-lisp/gambit.el > rm -rf ${D}/usr/share/emacs > if use emacs; then > elisp-install ${PN} misc/*.{el,elc} > elisp-site-file-install ${FILESDIR}/${SITEFILE} > fi > > dodoc INSTALL.txt README > # dodoc has no -r flag :( ># dodoc -r examples > insinto /usr/share/doc/${PF} > doins -r examples > # remove makefiles ># find ${D}/usr/share/doc/${PF}/examples -type f \ ># \( -name makefile -o -name makefile.in \) \ ># -exec rm -f '{}' \; > > # create some more explicit names > dosym /usr/bin/gsc-gambit /usr/bin/gambitsc > dosym /usr/bin/gsi /usr/bin/gambitsi >} > >pkg_postinst() { > einfo "Compiling syntax-case.scm..." > gambitsc $ROOT/usr/lib/syntax-case.scm >}
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 135551
:
101527
|
106199
|
106300
| 106981