1
0
forked from ports/opt

ocaml: update to 4.03

This commit is contained in:
Juergen Daubert 2016-05-21 13:40:17 +02:00
parent 52f3625508
commit e9b6f718d6
3 changed files with 629 additions and 175 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
9115706e30dad644f8dec9dfb459a9ab ocaml-4.02.3.tar.xz
89f62881e03dfad0cf04991fbc03f955 ocaml-4.03.0.tar.xz

View File

@ -5,15 +5,15 @@
# Depends on: binutils gdbm
name=ocaml
version=4.02.3
version=4.03.0
release=1
source=(http://caml.inria.fr/pub/distrib/$name-4.02/$name-$version.tar.xz)
source=(http://caml.inria.fr/pub/distrib/$name-${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
./configure -prefix /usr -with-pthread -no-graph
./configure -prefix /usr -mandir /usr/share/man -with-pthread -no-graph
make -j1 world.opt
make PREFIX=$PKG/usr install
make DESTDIR=$PKG install
local f
for f in $PKG/usr/bin/*.opt; do mv $f ${f%%.opt}; done
}