diff --git a/builds/Makefile.am b/builds/Makefile.am index af94301c..e7fe5e09 100644 --- a/builds/Makefile.am +++ b/builds/Makefile.am @@ -25,6 +25,8 @@ EXTRA_DIST = \ valgrind/ci_build.sh \ valgrind/valgrind.supp \ valgrind/vg \ + nuget/readme.nuget \ + nuget/libzmq.autopkg \ android/Dockerfile \ android/README.md \ android/android_build_helper.sh \ diff --git a/builds/nuget/libzmq.autopkg b/builds/nuget/libzmq.autopkg new file mode 100644 index 00000000..8b8b3657 --- /dev/null +++ b/builds/nuget/libzmq.autopkg @@ -0,0 +1,52 @@ +nuget{ + nuspec{ + id = libzmq; + version : 4.1.0-alpha; + title: ZMQ - Code Connected; + authors: { zeromq }; + owners: { phreed, jgoz }; + licenseUrl: "https://www.gnu.org/licenses/lgpl.html"; + projectUrl: "http://www.zeromq.org/"; + iconUrl: "http://www.zeromq.org/local--files/admin:css/logo.gif"; + requireLicenseAcceptance: false; + summary: Code Connected; + description: @" +ZeroMQ \zeromq\: +- Connect your code in any language, on any platform. +- Carries messages across inproc, IPC, TCP, TPIC, multicast. +- Smart patterns like pub-sub, push-pull, and router-dealer. +- High-speed asynchronous I/O engines, in a tiny library. +- Backed by a large and active open source community. +- Supports every modern language and platform. +- Build any architecture: centralized, distributed, small, or large. +- Free software with full commercial support."; + releaseNotes: "Made a NuGet package."; + copyright: Copyright 2012 iMatix Corporation and Contributors; + tags: {0mq, zeromq, nuget, native; } + } + + files{ + #defines { + SDK_ROOT = ..\..\; + SDK_2010 = ..\msvc\; + } + include: { "${SDK_ROOT}include\*" }; + docs: { "${SDK_ROOT}doc\*.txt" }; + + [x64,v100,debug] { + lib: ${SDK_2010}Debug\libzmq.lib; + symbols: ${SDK_2010}Debug\libzmq.pdb; + } + + [x64,v100,release] { + lib: ${SDK_2010}Release\libzmq.lib; + bin: ${SDK_2010}..\..\lib\libzmq.dll; + } + + targets{ + Defines += HAS_CPP_ZMQ_SDK; + } + } +} + + diff --git a/builds/nuget/readme.nuget b/builds/nuget/readme.nuget new file mode 100644 index 00000000..633743a9 --- /dev/null +++ b/builds/nuget/readme.nuget @@ -0,0 +1,20 @@ + +NuGet is a package management system for MS-Windows. +It is similar in spirit to tools like Maven or Gradle. + +It was originaly for .Net only packages but it has +recently been augmented to working with native packages. +http://docs.nuget.org/docs/reference/support-for-native-projects + +The instructions for building a NuGet package can be found here: +http://coapp.org/pages/tutorials.html + + +The basic procedure is to first build all +the artifacts and then run ... + Write-NuGetPackage .\libzmq.autopkg + +The *.nuget files thus produced can then be installed +in a local repository or uploaded to one of the nuget servers. + +