[Pkg-javascript-commits] [node-expat] 183/371: build: add support for building with node-gyp

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:00 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 e7d7cb51f60b821600ef58fb3c4293af4d3d7582
Author: Nathan Rajlich <nathan at tootallnate.net>
Date:   Tue Jun 26 17:22:19 2012 -0700

    build: add support for building with node-gyp
---
 binding.gyp  | 11 +++++++++++
 package.json | 15 ++++++---------
 2 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/binding.gyp b/binding.gyp
new file mode 100644
index 0000000..0059465
--- /dev/null
+++ b/binding.gyp
@@ -0,0 +1,11 @@
+{
+  'targets': [
+    {
+      'target_name': 'node_expat',
+      'sources': [ 'node-expat.cc' ],
+      'libraries': [
+        '-lexpat'
+      ]
+    }
+  ]
+}
diff --git a/package.json b/package.json
index be06986..a177510 100644
--- a/package.json
+++ b/package.json
@@ -3,21 +3,18 @@
 ,"main": "./lib/node-expat"
 ,"description": "NodeJS binding for fast XML parsing."
 ,"keywords": ["xml","sax","expat","libexpat","parse","parsing"]
-,"scripts" : { "install": "node-waf configure build"
-	      ,"update": "node-waf build"
-	      ,"test": "vows --spec ./test.js"
-	     }
+,"scripts" : { "test": "vows --spec ./test.js" }
 ,"dependencies": {}
 ,"devDependencies": {"vows": ">=0.5.12"}
 ,"repository": { "type": "git"
-	       , "path": "git://github.com/astro/node-expat.git"
-	       }
+  , "path": "git://github.com/astro/node-expat.git"
+  }
 ,"homepage": "http://github.com/astro/node-expat"
 ,"bugs": "http://github.com/astro/node-expat/issues"
 ,"author": { "name": "Astro"
-	   , "email": "astro at spaceboyz.net"
-	   , "web": "http://spaceboyz.net/~astro/"
-	   }
+  , "email": "astro at spaceboyz.net"
+  , "web": "http://spaceboyz.net/~astro/"
+  }
 ,"contributors": ["Stephan Maka", "Derek Hammer", "Iein Valdez", "Peter Körner", "Camilo Aguilar", "Michael Weibel", "Alexey Zhuchkov", "Satyam Shekhar", "Dhruv Matani", "Andreas Botsikas", "Tom Hughes-Croucher"]
 ,"licenses": [{ "type": "MIT" }]
 ,"engines": { "node": ">=0.4" }

-- 
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