fixing egg build process

This commit is contained in:
Daniel Ziltener 2022-09-05 21:43:24 +02:00
parent 5dc271b32c
commit 09d198a4eb
6 changed files with 400 additions and 392 deletions

View file

@ -11,4 +11,8 @@ salmonella:
salmonella --keep-repo --repo-dir=./petri-dish; \
salmonella-html-report ./salmonella.log report
tomlc99/toml.c:
git clone https://github.com/cktan/tomlc99.git
cd tomlc99; git checkout e4107c455491925b8982c22df1ce37c0ccb7d4e4
# end

3
init-tomlc99.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
make tomlc99/toml.c

View file

@ -1,13 +1,11 @@
(import (chicken base)
scheme
(scheme base)
(srfi 69)
(chicken foreign)
(chicken memory)
(chicken gc)
(chicken format)
rfc3339
foreigners
coops
coops-primitive-objects)

View file

@ -3,12 +3,15 @@
(synopsis "A Chicken binding to read TOML configuration files")
(category parsing)
(license "MIT")
(version "0.5.0")
(version "0.6")
(dependencies r7rs rfc3339 coops)
(test-dependencies srfi-64 srfi-152)
(components
(generated-source-file tomlc99/toml.c
(custom-build "init-tomlc99.sh"))
(c-object tomlc99/toml
(source-dependencies tomlc99/toml.c)
(source "tomlc99/toml.c"))
(extension toml
(objects tomlc99/toml)

View file

@ -1,3 +1,3 @@
(repo git "https://gitea.lyrion.ch/zilti/toml.git")
(uri targz "https://gitea.lyrion.ch/zilti/toml/archive/{egg-release}.tar.gz")
(release "0.5")
(release "0.6")

View file

@ -88,7 +88,7 @@ The repository of the Chicken wrapper can be found at [[https://gitea.lyrion.ch/
The repository of the C implementation being wrapped can be found at [[https://github.com/cktan/tomlc99|https://github.com/cktan/tomlc99]].
=== Version History
; 0.5 : first version of the wrapper
; 0.6 : first version of the wrapper
=== License
MIT License