From e918b963c0e69327cc946ec02c7e716e10295c4b Mon Sep 17 00:00:00 2001 From: Achraf Merzouki Date: Tue, 30 Jul 2024 13:54:23 -0400 Subject: [PATCH] Add b64 for testing --- b64.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 b64.yaml diff --git a/b64.yaml b/b64.yaml new file mode 100644 index 0000000000..0aba1616a3 --- /dev/null +++ b/b64.yaml @@ -0,0 +1,32 @@ +package: + name: b64 + version: 1.0 + epoch: 0 + description: "Base64 Encoding/Decoding Routines" + +environment: + contents: + packages: + - wolfi-base + - make + - gcc + - gcc-12 + - glibc-dev + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/achraf-mer/libb64 + tag: libs + expected-commit: cb048ab303f9b6c81602110ed634a9652d04dd40 + + - runs: | + CC=gcc-12 make + + - runs: | + mkdir -p "${{targets.destdir}}/usr/include/b64" + mkdir -p "${{targets.destdir}}/usr/lib" + mkdir -p "${{targets.destdir}}/usr/bin" + cp -R -a include/b64/* "${{targets.destdir}}/usr/include/b64/" + cp -R -a src/libb64.so "${{targets.destdir}}/usr/lib/" + cp -R -a base64/base64 "${{targets.destdir}}/usr/bin/"