Commit 24d593c2 authored by Gordon Ball's avatar Gordon Ball

Initial packaging

parent 59dda5dc
zeromq.js (4.0.0-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
-- Gordon Ball <gordon@chronitis.net> Tue, 06 Dec 2016 12:51:50 +0100
Source: zeromq.js
Section: web
Priority: extra
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Gordon Ball <gordon@chronitis.net>
Build-Depends: debhelper (>= 10),
nodejs,
nodejs-dev,
node-nan,
node-gyp,
libzmq3-dev,
pkg-config
Standards-Version: 3.9.8
Homepage: https://github.com/zeromq/zeromq.js
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/zeromq.js.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-javascript/zeromq.js.git
Package: node-zeromq
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
node-nan
Description: ZeroMQ bindings for Node.js
Node.js module providing bindings to the ZeroMQ messaging and
communications library. Common ZeroMQ patterns such as push-pull
and publish/subscribe are supported.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: zeromq.js
Files: *
Copyright: 2010-2016 Justin Tulloss <justin.tulloss@gmail.com>
License: MIT
Files: debian/*
Copyright: 2016 Gordon Ball <gordon@chronitis.net>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
index.js lib package.json usr/lib/nodejs/zeromq
build/Release/zmq.node usr/lib/nodejs/zeromq/build/Release
use-system-libzmq.patch
Description: use system libzmq (instead of building and using a private copy)
--- a/binding.gyp
+++ b/binding.gyp
@@ -3,7 +3,7 @@
{
'target_name': 'zmq',
'sources': [ 'binding.cc' ],
- 'include_dirs' : ["<!(node -e \"require('nan')\")"],
+ 'include_dirs' : ["<!(nodejs -e \"require('nan')\")"],
'cflags!': ['-fno-exceptions'],
'cflags_cc!': ['-fno-exceptions'],
'conditions': [
@@ -28,8 +28,8 @@
['OS=="openbsd" or OS=="freebsd"', {
}],
['OS=="linux"', {
- 'libraries': [ '<(PRODUCT_DIR)/../../zmq/lib/libzmq.a' ],
- 'include_dirs': [ '<(PRODUCT_DIR)/../../zmq/include' ],
+ 'libraries': [ '<!(pkg-config libzmq --libs)', ],
+ 'cflags': [ '<!(pkg-config libzmq --cflags)', ],
}],
]
}
#!/usr/bin/make -f
%:
dh $@ --with nodejs
override_dh_auto_configure:
node-gyp configure
override_dh_auto_build:
node-gyp build
override_dh_installchangelogs:
dh_installchangelogs -k History.md
override_dh_fixperms:
dh_fixperms
chmod 0644 debian/node-zeromq/usr/lib/nodejs/zeromq/build/Release/zmq.node
version=3
opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-zmq-$1.tar.gz/,dversionmangle=s/\+dfsg.*$//,repacksuffix=+dfsg \
https://github.com/JustinTulloss/zeromq.node/tags .*/archive/v?([\d\.]+).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment