Revert "Problem: nuget internal metadata not maintained, no relicense"

Relicense grant received.

This reverts commit d2a8be8da7.
This commit is contained in:
Luca Boccassi 2020-02-03 16:23:38 +01:00
parent 7cceedda2d
commit a7b328a79a
3 changed files with 74 additions and 0 deletions

View File

@ -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 \

View File

@ -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;
}
}
}

20
builds/nuget/readme.nuget Normal file
View File

@ -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.