Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77493 Details for
Bug 111407
ebuild for metaocaml
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Alternate ebuil
metaocaml-308_alpha027.ebuild (text/plain), 2.30 KB, created by
Christopher Warrington (c45207)
on 2006-01-18 19:36:59 UTC
(
hide
)
Description:
Alternate ebuil
Filename:
MIME Type:
Creator:
Christopher Warrington (c45207)
Created:
2006-01-18 19:36:59 UTC
Size:
2.30 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic versionator > >major=$(get_version_component_range 1) >type=`expr match $(get_version_component_range 2) '\([a-z]*\)'` >minor=`expr match $(get_version_component_range 2) '[a-z]*\([0-9]*\)'` >MY_P="MetaOCaml_${major}_${type}_${minor}" > >DESCRIPTION="A compiled, type-safe, multi-stage programming language" > >HOMEPAGE="http://www.metaocaml.org/" > >SRC_URI="http://www.metaocaml.org/dist/old/${MY_P}.tar.gz" > >LICENSE="QPL-1.0 GPL-2-with-linking-exception" > >SLOT="0" > >KEYWORDS="~x86" > >IUSE="ncurses tcltk threads native" > >RESTRICT="nostrip" > >DEPEND="virtual/libc > ncurses? ( >=sys-libs/ncurses-5.4-r6 ) > tcltk? ( > >=dev-lang/tk-8.4.9 > ) > !dev-lang/ocaml" > >PROVIDE="dev-lang/ocaml" > >S=${WORKDIR}/${MY_P} > >src_compile() { > filter-flags "-fstack-protector" > replace-flags "-O?" -O2 > > local myconf > > if use !ncurses; then > myconf="${myconf} -no-curses" > fi > > if use !tcltk; then > myconf="${myconf} -no-tk" > fi > > if use threads; then > myconf="${myconf} -with-pthread" > else > myconf="${myconf} -no-pthread" > fi > > ./configure \ > ${myconf} \ > -host ${CHOST} \ > -prefix /usr \ > -bindir /usr/bin \ > -libdir /usr/$(get_libdir)/ocaml \ > -mandir /usr/share/man || die "./configure failed" > > sed -i -e "s/\(BYTECCCOMPOPTS=.*\)/\1 ${CFLAGS}/" config/Makefile > sed -i -e "s/\(NATIVECCCOMPOPTS=.*\)/\1 ${CFLAGS}/" config/Makefile > > local makeOptions="-j1" > > > emake ${makeOptions} world || die "emake world failed" > > emake ${makeOptions} bootstrap > > # If the first bootstrap fails, we try bootstrapping again > # to get to a fixpoint. > if [ ${?} != 0 ]; then #not at fix point... > emake ${makeOptions} bootstrap || die "Second emake bootstrap failed" > fi > > if use native; then > #make world.opt does not produce metaocaml[c]; do it manually > emake ${makeOptions} opt || die "emake opt failed" > emake ${makeOptions} opt.opt || die "emake opt.opt failed" > fi >} > >src_install() { > make BINDIR=${D}/usr/bin \ > LIBDIR=${D}/usr/$(get_libdir)/ocaml \ > MANDIR=${D}/usr/share/man \ > install || die > > # removes sandbox dir from ld.conf > dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf > > dodoc Changes INSTALL LICENSE README Upgrading >}
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 111407
:
72061
|
73321
|
77493
|
77742
|
77842
|
79093
|
82474
|
82475
|
82856
|
83214
|
83218
|
83233