forked from rain-1/linenoise-mob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAkku.manifest
28 lines (27 loc) · 1.11 KB
/
Akku.manifest
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
#!r6rs ; -*- mode: scheme; coding: utf-8 -*-
(import (akku format manifest))
(akku-package ("linenoise" "1.0.0")
(synopsis "Readline replacement via PFFI")
(description
"A minimal, zero-config, BSD licensed, readline replacement."
"* Single and multi line editing mode with the usual key bindings implemented."
"* History handling."
"* Completion."
"* Hints (suggestions at the right of the prompt as you type)."
"* About 1,100 lines of BSD license source code."
"* Only uses a subset of VT100 escapes (ANSI.SYS compatible)."
"* UTF-8 support."
"This package requires Akku.scm >= 0.4.0 and a Scheme compatible with PFFI.")
(authors "Salvatore Sanfilippo"
"Pieter Noordhuis"
"Göran Weinholt")
(license "BSD-2-Clause")
(depends ("r6rs-pffi" "^0.1.0-18.6.21.akku.1"))
(scripts
(cond-expand
((and linux pre-install)
(run "cc -Wall -Os -g -fPIC -shared -o liblinenoise.so linenoise.c utf8.c"))
((and osx pre-install)
(run "cc -dynamiclib -o liblinenoise.so linenoise.c utf8.c"))
(post-install
(run "cp liblinenoise.so \"$akku_path_lib_ffi\"")))))