[manifest]
name = libsodium

[debs]
libsodium-dev

[homebrew]
libsodium

[rpms]
libsodium-devel
libsodium-static

[download.not(os=windows)]
url = https://github.com/jedisct1/libsodium/releases/download/1.0.17/libsodium-1.0.17.tar.gz
sha256 = 0cc3dae33e642cc187b5ceb467e0ad0e1b51dcba577de1190e9ffa17766ac2b1

[build.not(os=windows)]
builder = autoconf
subdir = libsodium-1.0.17

[download.os=windows]
url = https://download.libsodium.org/libsodium/releases/old/libsodium-1.0.17-msvc.zip
sha256 = f0f32ad8ebd76eee99bb039f843f583f2babca5288a8c26a7261db9694c11467

[build.os=windows]
builder = nop

[install.files.os=windows]
x64/Release/v141/dynamic/libsodium.dll = bin/libsodium.dll
x64/Release/v141/dynamic/libsodium.lib = lib/libsodium.lib
x64/Release/v141/dynamic/libsodium.exp = lib/libsodium.exp
x64/Release/v141/dynamic/libsodium.pdb = lib/libsodium.pdb
include = include

[autoconf.args]
