24 lines
678 B
Bash
24 lines
678 B
Bash
# Template file for 'ocaml'
|
|
pkgname=ocaml
|
|
version=4.06.0
|
|
revision=1
|
|
makedepends="ncurses-devel libX11-devel"
|
|
short_desc="The main implementation of the Caml language"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
homepage="http://ocaml.org/"
|
|
license="QPL-1, LGPL-2"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
|
|
do_configure() {
|
|
./configure -prefix /usr -mandir /usr/share/man -fPIC
|
|
}
|
|
do_build() {
|
|
make ${makejobs} world.opt
|
|
}
|
|
do_install() {
|
|
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
|
|
vlicense LICENSE
|
|
}
|