mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
github.com/adegtyarev/streebog: fix build on linux
This commit is contained in:
parent
70c1413e1d
commit
124b6c39a2
2 changed files with 1128 additions and 7 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
|
@ -1,8 +1,6 @@
|
|||
|
||||
distributable:
|
||||
url: https://github.com/adegtyarev/streebog/archive/{{version.raw}}.tar.gz
|
||||
|
||||
|
||||
versions:
|
||||
github: adegtyarev/streebog/tags
|
||||
|
||||
|
@ -10,11 +8,16 @@ build:
|
|||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script:
|
||||
- cd streebog-{{version.marketing}}
|
||||
- make
|
||||
- mkdir -p {{prefix}}/bin
|
||||
- mv gost3411-2012 {{prefix}}/bin/
|
||||
linux:
|
||||
gnu.org/patch: '*'
|
||||
script: |
|
||||
cd streebog-{{version.marketing}}
|
||||
if test '{{hw.platform}}' = 'linux'; then
|
||||
patch -p1 < ../props/32.patch
|
||||
fi
|
||||
make
|
||||
mkdir -p {{prefix}}/bin
|
||||
mv gost3411-2012 {{prefix}}/bin/
|
||||
|
||||
provides:
|
||||
- bin/gost3411-2012
|
||||
|
|
Loading…
Reference in a new issue