21 lines
471 B
Plaintext
21 lines
471 B
Plaintext
|
# Description: Objective CAML Compiler
|
||
|
# URL: http://caml.inria.fr/
|
||
|
# Packager: berlius at nutyx dot com
|
||
|
# Depends on: binutils gdbm
|
||
|
|
||
|
name=ocaml
|
||
|
version=4.02.3
|
||
|
release=1
|
||
|
source=(http://caml.inria.fr/pub/distrib/$name-4.02/$name-$version.tar.xz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
./configure -prefix /usr -with-pthread -no-graph
|
||
|
make -j1 world.opt
|
||
|
make PREFIX=$PKG/usr install
|
||
|
local f
|
||
|
for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
|
||
|
}
|
||
|
|
||
|
|