2006-02-23 15:26:10 +00:00
|
|
|
# Description: Objective CAML Compiler
|
|
|
|
# URL: http://caml.inria.fr/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2009-12-07 12:54:28 +01:00
|
|
|
# Packager: Erlend Bergsas Mikkelsen, howl at online dot no
|
2011-07-10 12:40:39 +02:00
|
|
|
# Depends on: binutils gdbm
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=ocaml
|
2013-09-16 16:03:53 +02:00
|
|
|
version=4.01.0
|
2014-09-22 19:16:02 +02:00
|
|
|
release=2
|
2013-09-16 16:03:53 +02:00
|
|
|
source=(http://caml.inria.fr/pub/distrib/$name-4.01/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2014-09-22 19:16:02 +02:00
|
|
|
./configure -prefix /usr -with-pthread -no-{tk,graph,camlp4}
|
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
|
|
|
}
|