[Pkg-javascript-commits] [node-expat] 50/371: Rename binary package to match micro-policy Node naming scheme: libnode-PKG.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:44 UTC 2016


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

js pushed a commit to branch master
in repository node-expat.

commit 2d3ce7defeab6d54146167112fb69b049cdfdcbe
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Jan 28 12:17:21 2011 +0100

    Rename binary package to match micro-policy Node naming scheme: libnode-PKG.
---
 debian/control.in |  2 +-
 debian/rules      | 16 +++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index a061f0d..6558186 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -8,7 +8,7 @@ Homepage: https://github.com/astro/node-expat
 Vcs-Git: git://git.debian.org/git/collab-maint/node-expat
 Vcs-Browser: http://git.debian.org/?p=collab-maint/node-expat.git
 
-Package: node-expat
+Package: libnode-node-expat
 Architecture: any
 Depends: ${misc:Depends},
  ${shlibs:Depends},
diff --git a/debian/rules b/debian/rules
index 7ea14f5..0828d32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+libpkgname = libnode-node-expat
+
 CDBS_BUILD_DEPENDS += , nodejs-dev (>= 0.2.6), libexpat-dev
 
 # suppress optional build-dependencies
@@ -31,23 +33,23 @@ DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
 DEB_UPSTREAM_TARBALL_MD5 = c21865d1d53ddf849fb9ec7c3a7eed27
 
-DEB_INSTALL_DOCS_node-expat += README.markdown
-DEB_INSTALL_EXAMPLES_node-expat += test.js
+DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
+DEB_INSTALL_EXAMPLES_$(libpkgname) += test.js
 
-configure/node-expat::
+configure/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf configure
 
-build/node-expat::
+build/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf build
 
-install/node-expat::
+install/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf install
 
 # Node modules have an uncommon extension preventing autodetection by
 # dh_shlibdeps, so we do it manually
-binary-strip-IMPL/node-expat::
+binary-strip-IMPL/$(libpkgname)::
 	$(if $(is_debug_package)$(filter nostrip,$(DEB_BUILD_OPTIONS)),,find "$(cdbs_curdestdir)" -name "*.node" -exec strip --remove-section=.comment --remove-section=.note --strip-unneeded {} +)
-binary-predeb-IMPL/node-expat::
+binary-predeb-IMPL/$(libpkgname)::
 	find "$(cdbs_curdestdir)" -name "*.node" -exec dpkg-shlibdeps -Tdebian/$(cdbs_curpkg).substvars {} +
 
 clean::

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list