ocaml: update to 4.02.2.

This commit is contained in:
Juan RP 2015-06-18 07:18:51 +02:00
parent 21d456f1f4
commit 95930dd9f3

View file

@ -1,25 +1,22 @@
# Template file for 'ocaml' # Template file for 'ocaml'
pkgname=ocaml pkgname=ocaml
_majorver=4.02 version=4.02.2
version=${_majorver}.1
revision=1 revision=1
makedepends="ncurses-devel libX11-devel" makedepends="ncurses-devel libX11-devel"
short_desc="The main implementation of the Caml language" short_desc="The main implementation of the Caml language"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://caml.inria.fr" homepage="http://caml.inria.fr"
license="QPL-1,LGPL-2" license="QPL-1, LGPL-2"
distfiles="${homepage}/pub/distrib/${pkgname}-${_majorver}/${pkgname}-${version}.tar.xz" distfiles="${homepage}/pub/distrib/${pkgname}-${version%.*}/${pkgname}-${version}.tar.xz"
checksum=68c4b01be54c23bc20fc0a8beaa5c7433b8483f8950490129cfe7662e0c6f4dc checksum=60f923988ab7ae023a0799f9699d7d7a476bf8207ee2c900f92c8288ea363085
nocross=yes nocross=yes
do_configure() { do_configure() {
./configure -prefix /usr -mandir /usr/share/man ./configure -prefix /usr -mandir /usr/share/man
} }
do_build() { do_build() {
make ${makejobs} world.opt make ${makejobs} world.opt
} }
do_install() { do_install() {
local compiler_libs=${DESTDIR}/usr/lib/ocaml/compiler-libs local compiler_libs=${DESTDIR}/usr/lib/ocaml/compiler-libs