Skip to content

Commit

Permalink
build: add support for building with node-gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jun 27, 2012
1 parent 1fa6c6b commit e7d7cb5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
11 changes: 11 additions & 0 deletions binding.gyp
@@ -0,0 +1,11 @@
{
'targets': [
{
'target_name': 'node_expat',
'sources': [ 'node-expat.cc' ],
'libraries': [
'-lexpat'
]
}
]
}
15 changes: 6 additions & 9 deletions package.json
Expand Up @@ -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" }
Expand Down

0 comments on commit e7d7cb5

Please sign in to comment.