Add license
This commit is contained in:
parent
59d1ae2ed9
commit
0ca61462ea
|
|
@ -0,0 +1,20 @@
|
||||||
|
Copyright (c) 2025 Retropikzel
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the " Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice (including the next
|
||||||
|
paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
19
Makefile
19
Makefile
|
|
@ -2,7 +2,7 @@
|
||||||
CC=gcc
|
CC=gcc
|
||||||
DOCKER=docker run -it -v ${PWD}:/workdir
|
DOCKER=docker run -it -v ${PWD}:/workdir
|
||||||
DOCKER_INIT=cd /workdir && make clean &&
|
DOCKER_INIT=cd /workdir && make clean &&
|
||||||
VERSION=$(shell awk '/version:/{ print $$2 }' README.md )
|
VERSION=0.10.0
|
||||||
TEST=primitives
|
TEST=primitives
|
||||||
SCHEME=chibi
|
SCHEME=chibi
|
||||||
TMPDIR=tmp/${SCHEME}
|
TMPDIR=tmp/${SCHEME}
|
||||||
|
|
@ -18,11 +18,11 @@ endif
|
||||||
|
|
||||||
all: build ${TMPDIR}
|
all: build ${TMPDIR}
|
||||||
|
|
||||||
build:
|
build: README.html
|
||||||
snow-chibi package \
|
snow-chibi package \
|
||||||
--version=${VERSION} \
|
--version=${VERSION} \
|
||||||
--authors="Retropikzel" \
|
--authors="Retropikzel" \
|
||||||
--doc=README.md \
|
--doc=documentation/foreign-c.html \
|
||||||
--foreign-depends=ffi \
|
--foreign-depends=ffi \
|
||||||
--description="Portable foreign function interface for R7RS Schemes" \
|
--description="Portable foreign function interface for R7RS Schemes" \
|
||||||
foreign/c.sld
|
foreign/c.sld
|
||||||
|
|
@ -109,17 +109,8 @@ ${TMPDIR}/test/libtest.a: ${TMPDIR}/test/libtest.o tests/c-src/libtest.c
|
||||||
${TMPDIR}:
|
${TMPDIR}:
|
||||||
mkdir -p ${TMPDIR}
|
mkdir -p ${TMPDIR}
|
||||||
|
|
||||||
# apt-get install pandoc weasyprint
|
README.html: README.md
|
||||||
documentation: README.md
|
markdown README.md > README.html
|
||||||
mkdir -p documentation
|
|
||||||
pandoc --standalone \
|
|
||||||
--template templates/documentation.html README.md \
|
|
||||||
> documentation/foreign-c.html
|
|
||||||
pandoc -t html5 \
|
|
||||||
--pdf-engine=weasyprint \
|
|
||||||
--css templates/css/pdf-documentation.css \
|
|
||||||
-o documentation/foreign-c.pdf \
|
|
||||||
README.md
|
|
||||||
|
|
||||||
chibi: foreign/c/primitives/chibi/foreign-c.stub
|
chibi: foreign/c/primitives/chibi/foreign-c.stub
|
||||||
chibi-ffi foreign/c/primitives/chibi/foreign-c.stub
|
chibi-ffi foreign/c/primitives/chibi/foreign-c.stub
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
---
|
|
||||||
title: foreign-c a portable foreign function interface for R7RS Schemes
|
|
||||||
version: 0.10.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# foreign-c
|
# foreign-c
|
||||||
|
|
||||||
foreign-c is a C foreign function interface (FFI) library for R7RS Schemes. It
|
foreign-c is a C foreign function interface (FFI) library for R7RS Schemes. It
|
||||||
|
|
@ -13,7 +8,7 @@ to being portable by conforming to some specification.
|
||||||
|
|
||||||
[Maling lists](https://sr.ht/~retropikzel/foreign-c/lists)
|
[Maling lists](https://sr.ht/~retropikzel/foreign-c/lists)
|
||||||
|
|
||||||
[Jenkins](https://jenkins.scheme.org/job/foreign_c/job/foreign-c/)
|
[Jenkins](https://jenkins.scheme.org/job/retropikzel/job/foreign-c/)
|
||||||
|
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Documentation](#documentation)
|
- [Documentation](#documentation)
|
||||||
|
|
@ -86,7 +81,7 @@ to being portable by conforming to some specification.
|
||||||
Required versions:
|
Required versions:
|
||||||
|
|
||||||
- Chibi > 0.11
|
- Chibi > 0.11
|
||||||
- At the only 0.11 is out so build from git
|
- At the time only 0.11 is out so build from git
|
||||||
- Chicken >= 5.4.0 < 6
|
- Chicken >= 5.4.0 < 6
|
||||||
- Gauche >= 0.9.15
|
- Gauche >= 0.9.15
|
||||||
- Does not yet work with snow-chibi install
|
- Does not yet work with snow-chibi install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue