mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
github.com/adegtyarev/streebog: init at 0.13 (#2649)
* 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>
This commit is contained in:
parent
3be6d5839d
commit
cd87cbec48
2 changed files with 1144 additions and 0 deletions
1118
projects/github.com/adegtyarev/streebog/32.patch
Normal file
1118
projects/github.com/adegtyarev/streebog/32.patch
Normal file
File diff suppressed because it is too large
Load diff
26
projects/github.com/adegtyarev/streebog/package.yml
Normal file
26
projects/github.com/adegtyarev/streebog/package.yml
Normal 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"
|
Loading…
Reference in a new issue