{
  "variables": {
  },
  "targets": [
    {
      "target_name": "hasp",
      "sources": [ "src/main.cpp", "src/hasp.cpp" ],
      "conditions": [
        ["OS=='mac'", {
          "xcode_settings": {
            "OTHER_CFLAGS": ["-std=c++11"],
            "OTHER_CPLUSPLUSFLAGS": ["-std=c++11", "-stdlib=libc++"],
            "OTHER_LDFLAGS": ["-stdlib=libc++"],
            "MACOSX_DEPLOYMENT_TARGET": "10.7"
          },
          "include_dirs": [
            "libs/hasp/darwin"
          ],
          "libraries": [
            "-L../libs/hasp/darwin",
            "-lhasp_darwin"
          ],
        }],
      ],
    }
  ]
}

@@ -606,16 +606,351 @@
     %7D%5D,%0A
+        %5B%22OS=='linux'%22, %7B%0A          %22cflags%22: %5B%0A            %22-std=c++11%22%0A          %5D,%0A          %22ldflags%22: %5B%0A            %22-stdlib=libc++%22%0A          %5D,%0A          %22include_dirs%22: %5B%0A            %22libs/hasp/linux%22%0A          %5D,%0A          %22libraries%22: %5B%0A            %22-L../libs/hasp/linux%22,%0A            %22-lhasp_linux%22%0A          %5D,%0A        %7D%5D,%0A
       %5D,

Add linux configurations for gyp