Permalink
Browse files

fixed wscript

  • Loading branch information...
1 parent 835e7a3 commit 3ea92d8c7c4383deb902ab7b024828ab8e36d115 Marcus committed Jun 25, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 package.json
  2. +4 −4 wscript
View
@@ -11,7 +11,7 @@
"type": "git"
, "url": "https://github.com/evilmachina/node-telldus-core.git"
}
-, "engines": { "node": ">= 0.4.0" }
+, "engines": { "node": ">= 0.6.14" }
, "license": "MIT"
, "main": "./telldus.js"
, "scripts": { "install": "node-waf configure build" }
View
@@ -4,7 +4,7 @@ from os.path import exists
srcdir = '.'
blddir = 'build'
-VERSION = '0.0.1'
+VERSION = '0.0.2'
def set_options(opt):
opt.tool_options('compiler_cxx')
@@ -22,17 +22,17 @@ def configure(conf):
conf.env.append_value("FRAMEWORKPATH_TC", tc_frameworkpath)
tc_lib = tc_frameworkpath + 'Headers/'
conf.env.append_value("CPPPATH_TC", tc_lib)
- else if sys.platform == 'linux2':
+ elif sys.platform == 'linux2':
conf.env.LIB_TC = 'telldus-core'
#conf.env.LIBPATH_TC = ['/usr/lib']
#conf.env.CCFLAGS_TC = ['-O0']
conf.env.CCDEFINES_TC = ['TC']
#conf.env.LINKFLAGS_TC = ['-g']
else:
- raise ValueError("Dose not support: " % sys.platform)
+ raise ValueError("Dose not support: %r" % sys.platform)
def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.target = 'telldus'
obj.source = 'telldus.cc'
- obj.uselib = "TC"
+ obj.uselib = "TC"

0 comments on commit 3ea92d8

Please sign in to comment.