20 lines
549 B
Bash
20 lines
549 B
Bash
# Template file for 'ocamlbuild'
|
|
pkgname=ocamlbuild
|
|
version=0.14.3
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="ocaml"
|
|
short_desc="OCaml build tool"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://github.com/ocaml/ocamlbuild"
|
|
distfiles="https://github.com/ocaml/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=ce151bfd2141abc6ee0b3f25ba609e989ff564a48bf795d6fa7138a4db0fc2e1
|
|
nocross=yes
|
|
|
|
export CHECK_IF_PREINSTALLED=false
|
|
|
|
pre_build() {
|
|
command -v ocamlc.opt >/dev/null || export OCAML_NATIVE=false
|
|
}
|