2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Objective CAML Compiler
|
|
|
|
|
# URL: http://caml.inria.fr/
|
2008-07-11 09:29:19 +02:00
|
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
|
# Packager: Erlend Bergs<67>s Mikkelsen, howl at online dot no
|
2008-01-19 15:58:36 +01:00
|
|
|
|
# Depends on: ncurses, gdbm
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=ocaml
|
2009-06-12 23:27:52 +02:00
|
|
|
|
version=3.11.1
|
2008-03-14 11:29:53 +01:00
|
|
|
|
release=1
|
2008-12-08 18:31:06 +01:00
|
|
|
|
source=(http://caml.inria.fr/pub/distrib/$name-3.11/$name-$version.tar.bz2)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
./configure -prefix /usr -with-pthread --no-tk
|
2008-12-08 18:31:06 +01:00
|
|
|
|
make -j1 world.opt
|
2007-07-05 16:09:50 +02:00
|
|
|
|
make PREFIX=$PKG/usr install
|
2008-12-08 18:31:06 +01:00
|
|
|
|
local f
|
|
|
|
|
for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|