|
root / lang / ocaml-seq
ocaml-seq Plain Text 31 lines 755 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Build script for OCaml seq compatibility package
# seq is part of OCaml stdlib since 4.07
# This just installs the META file for ocamlfind

set -e

export PATH="$PREFIX/bin:$PATH"

# Create the META file for seq
mkdir -p "$PKGDIR$PREFIX/lib/ocaml/seq"

cat > "$PKGDIR$PREFIX/lib/ocaml/seq/META" << 'EOF'
description = "OCaml Seq iterator type (part of stdlib)"
version = "base"
requires = ""
EOF
[package]
name = "ocaml-seq"
version = "base"
description = "OCaml standard iterator type compatibility package"
homepage = "https://github.com/ocaml/ocaml"
license = "LGPL-2.1"

[dependencies]
build = ["ocaml"]
runtime = ["ocaml"]

# seq is part of OCaml stdlib since 4.07, no source needed
# This package just installs META file for ocamlfind