From 2e59f9740a29439df7c7a56cf0ae83dec3081d31 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 11 Aug 2014 13:49:21 -0400 Subject: initial import of debian version from mentors --- packaging/nuget/.gitignore | 1 + packaging/nuget/package.bat | 13 ++ packaging/nuget/package.config | 4 + packaging/nuget/package.gsl | 260 ++++++++++++++++++++++++++++++++++++++++ packaging/nuget/package.nuspec | 95 +++++++++++++++ packaging/nuget/package.targets | 128 ++++++++++++++++++++ packaging/nuget/package.xml | 22 ++++ 7 files changed, 523 insertions(+) create mode 100644 packaging/nuget/.gitignore create mode 100644 packaging/nuget/package.bat create mode 100644 packaging/nuget/package.config create mode 100644 packaging/nuget/package.gsl create mode 100644 packaging/nuget/package.nuspec create mode 100644 packaging/nuget/package.targets create mode 100644 packaging/nuget/package.xml (limited to 'packaging') diff --git a/packaging/nuget/.gitignore b/packaging/nuget/.gitignore new file mode 100644 index 0000000..a7aeaaa --- /dev/null +++ b/packaging/nuget/.gitignore @@ -0,0 +1 @@ +*.nupkg diff --git a/packaging/nuget/package.bat b/packaging/nuget/package.bat new file mode 100644 index 0000000..cb3a54f --- /dev/null +++ b/packaging/nuget/package.bat @@ -0,0 +1,13 @@ +@ECHO OFF +ECHO Started nuget packaging build. +ECHO. +REM http://www.nuget.org/packages/gsl +gsl -q -script:package.gsl package.config +ECHO. +REM http://nuget.codeplex.com/releases +nuget pack package.nuspec -verbosity detailed +ECHO. +ECHO NOTE: Ignore warnings not applicable to native code: "Issue: Assembly outside lib folder." +ECHO. +ECHO Completed nuget packaging build. The package is in the following folder: +CD \ No newline at end of file diff --git a/packaging/nuget/package.config b/packaging/nuget/package.config new file mode 100644 index 0000000..c986633 --- /dev/null +++ b/packaging/nuget/package.config @@ -0,0 +1,4 @@ + + + + diff --git a/packaging/nuget/package.gsl b/packaging/nuget/package.gsl new file mode 100644 index 0000000..822a870 --- /dev/null +++ b/packaging/nuget/package.gsl @@ -0,0 +1,260 @@ +.# Generate NuGet nuspec file (for subsequent packing). +.# +.# This is a code generator built using the iMatix GSL code generation +.# language. See https://github.com/imatix/gsl for details. This script +.# is licensed under MIT/X11. +.# +.echo "Generating package.nuspec from template." +.output "package.nuspec" + + + + + $(package.id) + $(package.version) + $(package.id) + libsodium contributors + Eric Voskuil + https://raw.github.com/jedisct1/libsodium/master/LICENSE + https://github.com/jedisct1/libsodium + http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg + true + false + Sodium is a portable, cross-compilable, installable, packageable fork of NaCl (based on the latest released upstream version nacl-20110221), with a compatible API. + Portable fork of NaCl, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers. + https://raw.github.com/jedisct1/libsodium/master/ChangeLog + (c) 2013-2014, Frank Denis (attribution required) + native, NaCl, salt, sodium, libodium, C++ + +.for dependency + +.endfor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.echo "Generating package.targets from template." +.output "package.targets" + + + + + + + + + + + + + $\(MSBuildThisFileDirectory)include\\;%(AdditionalIncludeDirectories) + + + advapi32.lib;crypt32.lib;%(AdditionalDependencies) + $\(MSBuildThisFileDirectory)bin\\;%(AdditionalLibraryDirectories) + + + + + SODIUM_STATIC;%(PreprocessorDefinitions) + + + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies) + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies) + + + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies) + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies) + + + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies) + + + + + $(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies) + + + + + $(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies) + + + + + + + + + + + + + + + + + + + + + + + + +.echo "Generating package.xml (ui extension) from template." +.output "package.xml" + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packaging/nuget/package.nuspec b/packaging/nuget/package.nuspec new file mode 100644 index 0000000..36ee748 --- /dev/null +++ b/packaging/nuget/package.nuspec @@ -0,0 +1,95 @@ + + + + + libsodium_vc120 + 0.6.0.1 + libsodium_vc120 + libsodium contributors + Eric Voskuil + https://raw.github.com/jedisct1/libsodium/master/LICENSE + https://github.com/jedisct1/libsodium + http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg + true + false + Sodium is a portable, cross-compilable, installable, packageable fork of NaCl (based on the latest released upstream version nacl-20110221), with a compatible API. + Portable fork of NaCl, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers. + https://raw.github.com/jedisct1/libsodium/master/ChangeLog + (c) 2013-2014, Frank Denis (attribution required) + native, NaCl, salt, sodium, libodium, C++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packaging/nuget/package.targets b/packaging/nuget/package.targets new file mode 100644 index 0000000..c6a049c --- /dev/null +++ b/packaging/nuget/package.targets @@ -0,0 +1,128 @@ + + + + + + + + + + + + + $(MSBuildThisFileDirectory)include\;%(AdditionalIncludeDirectories) + + + advapi32.lib;crypt32.lib;%(AdditionalDependencies) + $(MSBuildThisFileDirectory)bin\;%(AdditionalLibraryDirectories) + + + + + SODIUM_STATIC;%(PreprocessorDefinitions) + + + + + + + libsodium-x86-v120-mt-s-0_6_0_1.lib;%(AdditionalDependencies) + + + + + libsodium-x86-v120-mt-sgd-0_6_0_1.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-s-0_6_0_1.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-sgd-0_6_0_1.lib;%(AdditionalDependencies) + + + + + + + libsodium-x86-v120-mt-s-0_6_0_1.ltcg.lib;%(AdditionalDependencies) + + + + + libsodium-x86-v120-mt-sgd-0_6_0_1.ltcg.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-s-0_6_0_1.ltcg.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-sgd-0_6_0_1.ltcg.lib;%(AdditionalDependencies) + + + + + + + libsodium-x86-v120-mt-0_6_0_1.imp.lib;%(AdditionalDependencies) + + + + + libsodium-x86-v120-mt-gd-0_6_0_1.imp.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-0_6_0_1.imp.lib;%(AdditionalDependencies) + + + + + libsodium-x64-v120-mt-gd-0_6_0_1.imp.lib;%(AdditionalDependencies) + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packaging/nuget/package.xml b/packaging/nuget/package.xml new file mode 100644 index 0000000..abaea23 --- /dev/null +++ b/packaging/nuget/package.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3