void-packages/srcpkgs/ocaml/template
Christian Neukirchen 4329311842 ocaml: update to 4.02.3.
Adopted.
2015-07-28 13:40:11 +02:00

23 lines
673 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=4.02.3
revision=1
makedepends="ncurses-devel libX11-devel"
short_desc="The main implementation of the Caml language"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://caml.inria.fr"
license="QPL-1, LGPL-2"
distfiles="${homepage}/pub/distrib/${pkgname}-${version%.*}/${pkgname}-${version}.tar.xz"
checksum=83c6697e135b599a196fd7936eaf8a53dd6b8f3155a796d18407b56f91df9ce3
nocross=yes
do_configure() {
./configure -prefix /usr -mandir /usr/share/man
}
do_build() {
make ${makejobs} world.opt
}
do_install() {
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
vlicense LICENSE
}