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
|
2012-10-06 09:34:10 +02:00
|
|
|
version=4.00.1
|
2008-03-14 11:29:53 +01:00
|
|
|
release=1
|
2012-10-06 09:34:10 +02:00
|
|
|
source=(http://caml.inria.fr/pub/distrib/$name-4.00/$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
|
|
|
}
|