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 --keep-repo --repo-dir=./petri-dish; \
salmonella-html-report ./salmonella.log report salmonella-html-report ./salmonella.log report
tomlc99/toml.c:
git clone https://github.com/cktan/tomlc99.git
cd tomlc99; git checkout e4107c455491925b8982c22df1ce37c0ccb7d4e4
# end # 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) (import (chicken base)
scheme scheme
(scheme base) (scheme base)
(srfi 69)
(chicken foreign) (chicken foreign)
(chicken memory) (chicken memory)
(chicken gc) (chicken gc)
(chicken format) (chicken format)
rfc3339 rfc3339
foreigners
coops coops
coops-primitive-objects) coops-primitive-objects)

View file

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

View file

@ -1,3 +1,3 @@
(repo git "https://gitea.lyrion.ch/zilti/toml.git") (repo git "https://gitea.lyrion.ch/zilti/toml.git")
(uri targz "https://gitea.lyrion.ch/zilti/toml/archive/{egg-release}.tar.gz") (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]]. The repository of the C implementation being wrapped can be found at [[https://github.com/cktan/tomlc99|https://github.com/cktan/tomlc99]].
=== Version History === Version History
; 0.5 : first version of the wrapper ; 0.6 : first version of the wrapper
=== License === License
MIT License MIT License