From ed3bcbbf1d6a390b3a5600c108174f6efccf9349 Mon Sep 17 00:00:00 2001 From: ektrah Date: Mon, 6 Mar 2017 14:20:54 +0100 Subject: [PATCH] Add missing file for packaging for .NET Core (#507) --- packaging/dotnet-core/.gitignore | 1 + packaging/dotnet-core/recipes/build | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 packaging/dotnet-core/recipes/build diff --git a/packaging/dotnet-core/.gitignore b/packaging/dotnet-core/.gitignore index a60017e7..827f395a 100644 --- a/packaging/dotnet-core/.gitignore +++ b/packaging/dotnet-core/.gitignore @@ -2,3 +2,4 @@ build cache temp Makefile +!recipes/* diff --git a/packaging/dotnet-core/recipes/build b/packaging/dotnet-core/recipes/build new file mode 100644 index 00000000..a5ffe270 --- /dev/null +++ b/packaging/dotnet-core/recipes/build @@ -0,0 +1,9 @@ +cd ~ +tar xzf /io/libsodium.tar.gz +cd libsodium-* +./configure +make +make check +make install +strip --strip-all /usr/local/lib/libsodium.so +cp /usr/local/lib/libsodium.so /io/output