Permalink
Browse files

build: add support for building with node-gyp

  • Loading branch information...
1 parent 1fa6c6b commit e7d7cb51f60b821600ef58fb3c4293af4d3d7582 @TooTallNate TooTallNate committed Jun 27, 2012
Showing with 17 additions and 9 deletions.
  1. +11 −0 binding.gyp
  2. +6 −9 package.json
View
@@ -0,0 +1,11 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'node_expat',
+ 'sources': [ 'node-expat.cc' ],
+ 'libraries': [
+ '-lexpat'
+ ]
+ }
+ ]
+}
View
@@ -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@spaceboyz.net"
- , "web": "http://spaceboyz.net/~astro/"
- }
+ , "email": "astro@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" }

0 comments on commit e7d7cb5

Please sign in to comment.