[Pkg-javascript-commits] [node-mapnik] 03/03: Build using node-pre-gyp

Jérémy Lal kapouer at moszumanska.debian.org
Sat Apr 9 23:41:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-mapnik.

commit 6b68e0dfb9283c350788ee8323bbf5765b63ac3b
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sun Apr 10 01:30:27 2016 +0200

    Build using node-pre-gyp
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 6 ++----
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4a89f66..2046e7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ node-mapnik (3.5.8+dfsg-1) UNRELEASED; urgency=medium
   * Reorder (build) dependencies and add node-nan to build dependencies.
   * Require at least libmapnik-dev 3.0.10 & mapnik-vector-tile 1.0.6+dfsg-2.
   * Add mapnik-utils to (build) dependencies for shapeindex.
+  * Build-Depends node-pre-gyp.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 08 Apr 2016 10:45:50 +0200
 
diff --git a/debian/control b/debian/control
index 752c585..99584d5 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 9~),
                node-gyp,
                node-mocha,
                node-nan,
+               node-pre-gyp,
                node-sphericalmercator
 Standards-Version: 3.9.5
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/node-mapnik.git
diff --git a/debian/rules b/debian/rules
index fcfefde..a13e37d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,10 @@
 	dh $@
 
 override_dh_auto_configure:
-	node-gyp configure \
-		--module_name=`nodejs -e "console.log(require('./package.json').binary.module_name)"` \
-		--module_path=`nodejs -e "console.log(require('./package.json').binary.module_path)"`
+	node-pre-gyp configure
 
 override_dh_auto_build:
-	node-gyp build
+	node-pre-gyp build
 
 override_dh_auto_install:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git



More information about the Pkg-javascript-commits mailing list