simplify script

This commit is contained in:
Jacob Heider 2023-07-24 10:05:13 -04:00 committed by Ivan Bushchik
parent 124b6c39a2
commit cfd5f9476a

View file

@ -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