Why isn't ocaml at 3.12.0? The attached ocaml.info builds fine
under x86_64 fink with Xcode 4.1 (using the existing ocaml.patch).
Note that all of the macosx deployment stuff is dropped.
Jack
Package: ocaml
Version: 3.12.0
Revision: 1
Description: Latest implementation of Caml dialect of ML
BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006), fink (>=
0.24.12)
Depends: tcltk, x11, libncurses5-shlibs (>= 5.4-20041023-1006)
DescPort: Uses custom configure script.
SetMAKEFLAGS: -j1
NoSetMAKEFLAGS: true
Source: http://caml.inria.fr/pub/distrib/%n-3.12/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.info.tar.gz
Source-MD5: bd92c8970767f412bc1e9a6c625b5ccf
Source2-MD5: 79fe5b86e0d6462e3e944fd8c47603ac
Source3-MD5: 93cd91f525441eb7e94cc49b9b64bab0
Source4-MD5: 8cf24c4f69c6f9c9f9cc1edb9b18f6cb
PatchFile: %n.patch
PatchFile-MD5: 37ed1a21a282337c629c84a6f08f2160
PatchScript: <<
# fink's sed (at least 4.2-1) chokes on accented characters here
/usr/bin/sed -i .bak -e 's,sed,/usr/bin/sed,' ocamldoc/remove_DEBUG
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %{PatchFile}
<<
CompileScript: <<
#! /bin/sh -ex
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir
%p/share/man
make world opt opt.opt
<<
InstallScript: <<
make install BINDIR=%i/bin LIBDIR=%i/lib/ocaml MANDIR=%i/share/man
mv %i/lib/ocaml/ld.conf %i/lib/ocaml/ld.conf.orig
sed -e "s|%d||" %i/lib/ocaml/ld.conf.orig > %i/lib/ocaml/ld.conf
rm -f %i/lib/ocaml/ld.conf.orig
# Needed for camlp4lib.a or camlp4fulllib.a?
# ranlib %i/lib/ocaml/camlp4/gramlib.a
(cd emacs; make install-el BINDIR=%i/bin EMACSDIR=%i/share/emacs/site-lisp)
mkdir -p %i/share/info
cp ../infoman/ocaml.info* %i/share/info
mkdir -p %i/share/doc/%n
cp -R ../htmlman %i/share/doc/%n
<<
InfoDocs: ocaml.info
DocFiles: Changes README LICENSE INSTALL ../%n-3.12-refman.pdf
DescDetail: <<
The main novelties compared with its ancestor, Caml Light, are:
1) Full support for objects and classes --
here combined for the first time with ML-style type reconstruction.
2) A powerful module calculus in the style of Standard ML
(but retaining separate compilation).
3) A high-performance native code compiler
(in addition to a Caml Light-style bytecode compiler).
<<
DescPackaging: <<
dmacks overhauled infodoc stuff: patched main file to have dir
header and uncompressed files so that fink's automatic infodoc dpkg
scripts work.
<<
License: OSI-Approved
Homepage: http://caml.inria.fr/ocaml
Maintainer: Brendan Cully <[email protected]>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users