mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 19:44:07 +03:00
15 lines
252 B
Bash
15 lines
252 B
Bash
source $stdenv/setup
|
|
|
|
cp -r $src ./src
|
|
chmod -R a+w ./src
|
|
cd ./src
|
|
|
|
sed -i 's|ar rcs|${AR} rcs|' Makefile
|
|
|
|
make libargon2.a -j4
|
|
|
|
mkdir -p $out/{lib,include}
|
|
cp libargon2.a $out/lib
|
|
cp include/argon2.h $out/include
|
|
cp ./src/blake2/*.h $out/include
|