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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
|
# +-------------------------------------------------------------------+
# | Package parameters |
# +-------------------------------------------------------------------+
OASISFormat: 0.4
OCamlVersion: >= 3.12
Name: lambda-term
Version: 1.10.1
LicenseFile: LICENSE
License: BSD-3-CLAUSE
Authors: Jeremie Dimino
Maintainers: Jeremie Dimino <jeremie@dimino.org>
Homepage: http://lambda-term.forge.ocamlcore.org/
BuildTools: ocamlbuild
Plugins: DevFiles (0.4), META (0.4)
XDevFilesEnableMakefile: false
Synopsis: Terminal manipulation library for OCaml
Description:
Lambda-term is a cross-platform library for manipulating the
terminal. It provides an abstraction for keys, mouse events, colors,
as well as a set of widgets to write curses-like applications.
.
The main objective of lambda-term is to provide a higher level
functional interface to terminal manipulation than, for example,
ncurses, by providing a native OCaml interface instead of bindings to
a C library.
.
Lambda-term integrates with zed to provide text edition facilities in
console applications.
FilesAB: src/lTerm_config.h.ab
Flag examples
Description: build examples
Default: true
# +-------------------------------------------------------------------+
# | The library |
# +-------------------------------------------------------------------+
Library "lambda-term"
FindlibName: lambda-term
BuildDepends:
lwt (>= 2.4.0),
lwt.unix,
lwt.react,
zed (>= 1.2)
XMETADescription: Cross-platform library for terminal manipulation
Path: src
Install: true
Modules:
LTerm,
LTerm_key,
LTerm_event,
LTerm_unix,
LTerm_windows,
LTerm_style,
LTerm_geom,
LTerm_draw,
LTerm_mouse,
LTerm_widget,
LTerm_widget_callbacks,
LTerm_edit,
LTerm_read_line,
LTerm_text,
LTerm_ui,
LTerm_resources,
LTerm_inputrc,
LTerm_history
InternalModules:
LTerm_color_mappings,
LTerm_resource_lexer,
widget_impl/LTerm_widget_base_impl,
widget_impl/LTerm_buttons_impl,
widget_impl/LTerm_containers_impl,
widget_impl/LTerm_running_impl,
widget_impl/LTerm_toplevel_impl
CSources:
lTerm_config.h,
lTerm_term_stubs.c,
lTerm_unix_stubs.c,
lTerm_windows_stubs.c
CCOpt: -I$pkg_lwt
if system(openbsd)
CCOpt+: -I/usr/local/include
CCLib: -L/usr/local/lib -lcharset
# +-------------------------------------------------------------------+
# | Examples |
# +-------------------------------------------------------------------+
Executable events
Path: examples
Install: false
CompiledObject: best
MainIs: events.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable colors
Path: examples
Install: false
CompiledObject: best
MainIs: colors.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable colors_256
Path: examples
Install: false
CompiledObject: best
MainIs: colors_256.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable rgb
Path: examples
Install: false
CompiledObject: best
MainIs: rgb.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable move
Path: examples
Install: false
CompiledObject: best
MainIs: move.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable hello
Path: examples
Install: false
CompiledObject: best
MainIs: hello.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable clock
Path: examples
Install: false
CompiledObject: best
MainIs: clock.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable buttons
Path: examples
Install: false
CompiledObject: best
MainIs: buttons.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable focus
Path: examples
Install: false
CompiledObject: best
MainIs: focus.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable checkbuttons
Path: examples
Install: false
CompiledObject: best
MainIs: checkbuttons.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable radiobuttons
Path: examples
Install: false
CompiledObject: best
MainIs: radiobuttons.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable shell
Path: examples
Install: false
CompiledObject: best
MainIs: shell.ml
BuildDepends: lambda-term, str
Build$: flag(examples)
Executable repl
Path: examples
Install: false
CompiledObject: best
MainIs: repl.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable modal
Path: examples
Install: false
CompiledObject: best
MainIs: modal.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable "read-password"
Path: examples
Install: false
CompiledObject: best
MainIs: read_password.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable "read-yes-no"
Path: examples
Install: false
CompiledObject: best
MainIs: read_yes_no.ml
BuildDepends: lambda-term
Build$: flag(examples)
Executable "editor"
Path: examples
Install: false
CompiledObject: best
MainIs: editor.ml
BuildDepends: lambda-term
Build$: flag(examples)
# +-------------------------------------------------------------------+
# | Utils |
# +-------------------------------------------------------------------+
Executable "lambda-term-actions"
Path: tools
Install: true
CompiledObject: best
MainIs: lambda_term_actions.ml
BuildDepends: lambda-term
# +-------------------------------------------------------------------+
# | Tests |
# +-------------------------------------------------------------------+
Executable "history-stress-test"
Path: tests
Install: false
CompiledObject: best
MainIs: history_stress_test.ml
BuildDepends: lambda-term
Build$: flag(tests)
# +-------------------------------------------------------------------+
# | Doc |
# +-------------------------------------------------------------------+
Document "lambda-term-api"
Title: API reference for Lambda-Term
Type: ocamlbuild (0.4)
Install: true
InstallDir: $htmldir/api
DataFiles: style.css
BuildTools: ocamldoc
XOCamlbuildPath: ./
XOCamlbuildLibraries: lambda-term
# +-------------------------------------------------------------------+
# | Manual pages |
# +-------------------------------------------------------------------+
Document "lambda-term-actions-man"
Type: custom (0.4)
Title: Man page for lambda-term-actions
Install: true
BuildTools: gzip
XCustom: $gzip -c man/lambda-term-actions.1 > man/lambda-term-actions.1.gz
XCustomClean: $rm man/lambda-term-actions.1.gz
DataFiles: man/lambda-term-actions.1.gz
InstallDir: $mandir/man1
Document "lambda-term-inputrc-man"
Type: custom (0.4)
Title: Man page for ~/.lambda-term-inputrc
Install: true
BuildTools: gzip
XCustom: $gzip -c man/lambda-term-inputrc.5 > man/lambda-term-inputrc.5.gz
XCustomClean: $rm man/lambda-term-inputrc.5.gz
DataFiles: man/lambda-term-inputrc.5.gz
InstallDir: $mandir/man5
# +-------------------------------------------------------------------+
# | Configuration examples |
# +-------------------------------------------------------------------+
Document "lamda-term-inputrc"
Type: custom (0.4)
Title: lambda-term-inputrc example
XCustom: true
Install: true
DataFiles: lambda-term-inputrc
Document "lambda-termrc"
Type: custom (0.4)
Title: lambda-term resource file example
XCustom: true
Install: true
DataFiles: lambda-termrc
# +-------------------------------------------------------------------+
# | Misc |
# +-------------------------------------------------------------------+
SourceRepository head
Type: git
Location: https://github.com/diml/lambda-term.git
Browser: https://github.com/diml/lambda-term
|