[Pkg-javascript-commits] [node-srs] 15/22: Use link to srs_data from gdal-config

Jérémy Lal kapouer at moszumanska.debian.org
Sun Jun 21 19:38:03 UTC 2015


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

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

commit 939365189ec228fc451fd0ebcd434c1c4ff2ca98
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sun Jun 21 21:17:06 2015 +0200

    Use link to srs_data from gdal-config
---
 debian/links | 1 -
 debian/rules | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/links b/debian/links
deleted file mode 100644
index 0916fe5..0000000
--- a/debian/links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/gdal/1.10 usr/lib/nodejs/srs/srs_data
diff --git a/debian/rules b/debian/rules
index baf6e67..13df4c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,9 @@ override_dh_install:
 	dh_buildinfo
 	chmod 644 $(CURDIR)/debian/node-srs$(MODULE_PATH)
 
+override_dh_link:
+	dh_link `gdal-config --datadir` usr/lib/nodejs/srs/srs_data
+
 override_dh_auto_configure:
 	node-gyp configure -module_name=srs -module_path=lib/binding/ -shared_gdal=1
 

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



More information about the Pkg-javascript-commits mailing list