[Pkg-javascript-commits] [node-sqlite3] 18/20: Fix node-gyp build
Jérémy Lal
kapouer at alioth.debian.org
Wed Sep 4 12:34:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-sqlite3.
commit 635dff08184b7559f27b5645297feb49ada01c58
Author: Jérémy Lal <kapouer at melix.org>
Date: Wed Sep 4 14:29:09 2013 +0200
Fix node-gyp build
---
debian/rules | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2a67f7c..cc6c220 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,10 @@ ifndef UPVER
UPVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f1)
endif
+DSVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f2)
+
TARDIR := node-sqlite3-$(UPVER)
-TARNAME := node-sqlite3_$(UPVER)+ds2.orig.tar
+TARNAME := node-sqlite3_$(UPVER)+$(DSVER).orig.tar
%:
@@ -18,10 +20,10 @@ TARNAME := node-sqlite3_$(UPVER)+ds2.orig.tar
override_dh_install:
dh_install
dh_buildinfo
- chmod 644 $(CURDIR)/debian/node-srs/usr/lib/nodejs/sqlite3/sqlite3_bindings.node
+ chmod 644 $(CURDIR)/debian/node-sqlite3/usr/lib/nodejs/sqlite3/lib/node_sqlite3.node
override_dh_auto_configure:
- node-gyp configure
+ node-gyp configure --sqlite=external
override_dh_auto_build:
node-gyp build
@@ -30,15 +32,15 @@ override_dh_auto_test:
override_dh_shlibdeps:
dpkg-shlibdeps \
- -T$(CURDIR)/debian/node-srs.substvars \
- $(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node
+ -T$(CURDIR)/debian/node-sqlite3.substvars \
+ $(CURDIR)/debian/node-sqlite3/usr/lib/nodejs/sqlite3/lib/node_sqlite3.node
override_dh_strip:
strip \
--remove-section=.comment \
--remove-section=.note \
--strip-unneeded \
- $(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node
+ $(CURDIR)/debian/node-sqlite3/usr/lib/nodejs/sqlite3/lib/node_sqlite3.node
get-orig-source:
mkdir -p ../tarballs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-sqlite3.git
More information about the Pkg-javascript-commits
mailing list