mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
Ivan Bushchik
cd87cbec48
* github.com/adegtyarev/streebog: init at 0.13 * github.com/adegtyarev/streebog: fix build on linux * simplify script * fix patch path --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
27 lines
647 B
YAML
27 lines
647 B
YAML
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"
|