mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
simplify script
This commit is contained in:
parent
124b6c39a2
commit
cfd5f9476a
1 changed files with 7 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
distributable:
|
||||
url: https://github.com/adegtyarev/streebog/archive/{{version.raw}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: adegtyarev/streebog/tags
|
||||
|
@ -10,14 +11,12 @@ build:
|
|||
tea.xyz/gx/make: '*'
|
||||
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/
|
||||
script:
|
||||
- run: patch -p1 < ../props/32.patch
|
||||
if: linux
|
||||
- make
|
||||
- run: cp "$SRCROOT"/gost3411-2012 .
|
||||
working-directory: ${{prefix}}/bin
|
||||
|
||||
provides:
|
||||
- bin/gost3411-2012
|
||||
|
|
Loading…
Reference in a new issue