npmpkg: Fix package.json having invalid main property

Fixes #48

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
package.json.cmake: fix broken main property

This is a partial revert of previous commit

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
package.json.cmake: Proper version requires for nodejs

Signed-off-by: Helio Chissini de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
pwm.c: Fix error in mraa_pwm_read_period

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
pwm.c: Fix error in mraa_pwm_read_duty

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mraa: update to version 0.5.4

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
cmake: Define library suffix in case of 64 bits multilib archs in linux

Signed-off-by: Helio Chisisni de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
CMakeLists.txt: use relative paths for install

Using CMAKE_INSTALL_FULL_LIBDIR breaks cpack

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
types.h: Move mraa_pinmodes_t to types.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
common.h: move functions from types.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mraa.i: add enum item rename rule

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>