29 lines
853 B
Bash
29 lines
853 B
Bash
# Template file for 'ocaml-stdcompat'
|
|
pkgname=ocaml-stdcompat
|
|
version=19
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--libdir=/usr/lib/ocaml"
|
|
hostmakedepends="automake"
|
|
makedepends="ocaml ocaml-findlib"
|
|
short_desc="Compatibility module for OCaml standard library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/thierry-martinez/stdcompat"
|
|
distfiles="https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz"
|
|
checksum=0ca4067789e720de923e5b3a85c03fd89bdcee2bd836978c53aad8b157350a55
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
|
|
disable_parallel_build=yes
|
|
|
|
pre_configure() {
|
|
if ! command -v ocamlc.opt >/dev/null; then
|
|
sed -i 's/AC_SUBST(\[OCAMLOPT\], \[\["$OCAMLFIND ocamlopt"\]\])//' configure.ac
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|