void-packages/srcpkgs/ocaml/template

24 lines
659 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=4.03.0
revision=1
makedepends="ncurses-devel libX11-devel"
short_desc="The main implementation of the Caml language"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://ocaml.org/"
license="QPL-1, LGPL-2"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=fef80a338099bffc56e4d1ef35146336195a4a9e2086e8cd186c402805503a0a
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
}