Compare commits

...

4 commits

Author SHA1 Message Date
Jacob Heider
562495da87 fix patch path 2023-07-24 17:26:14 +03:00
Jacob Heider
cfd5f9476a simplify script 2023-07-24 17:26:14 +03:00
124b6c39a2 github.com/adegtyarev/streebog: fix build on linux 2023-07-24 17:26:14 +03:00
70c1413e1d github.com/adegtyarev/streebog: init at 0.13 2023-07-24 17:26:14 +03:00
2 changed files with 1144 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,26 @@
distributable:
url: https://github.com/adegtyarev/streebog/archive/{{version.raw}}.tar.gz
strip-components: 1
versions:
github: adegtyarev/streebog/tags
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
linux:
gnu.org/patch: '*'
script:
- run: patch -p1 < props/32.patch
if: linux
- make
- run: cp "$SRCROOT"/gost3411-2012 .
working-directory: ${{prefix}}/bin
provides:
- bin/gost3411-2012
test:
script:
test "$(gost3411-2012 -q -s tea)" = "d13f0f2f8958457d295209625ecc6efca774f2e079948d1fe0330dfee8d6eb2ff3f961ba3ba8ec71e8227e8e590eb1b128dc53fc4724c037c1b7e481d45d9c31"