24 lines
662 B
Bash
24 lines
662 B
Bash
# Template file for 'ocaml-num'
|
|
pkgname=ocaml-num
|
|
version=1.3
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
makedepends="ocaml ocaml-findlib"
|
|
make_install_target="findlib-install"
|
|
short_desc="OCaml legacy Num library for arbitrary-precision integers"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/ocaml/num"
|
|
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
|
|
checksum=4f79c30e81ea9553c5b2c5b5b57bb19968ccad1e85256b3c446b5df58f33e94d
|
|
wrksrc="num-${version}"
|
|
nocross=yes
|
|
|
|
pre_install() {
|
|
export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml
|
|
vmkdir /usr/lib/ocaml/stublibs
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|