- install -D -m 0644 PVE/APIClient/Helpers.pm ${PERL5DIR}/PVE/APIClient/Helpers.pm
- install -D -m 0644 pve-api-definition.js ${DESTDIR}/usr/share/${PACKAGE}/pve-api-definition.js
+ install -d -m 0755 ${LIB_DIR}/PVE
+ # install library tools from pve-common
+ install -m 0644 PVE/Tools.pm ${LIB_DIR}/PVE
+ install -m 0644 PVE/SafeSyslog.pm ${LIB_DIR}/PVE
+ install -m 0644 PVE/Exception.pm ${LIB_DIR}/PVE
+ install -m 0644 PVE/JSONSchema.pm ${LIB_DIR}/PVE
+ install -m 0644 PVE/RESTHandler.pm ${LIB_DIR}/PVE
+ install -m 0644 PVE/CLIHandler.pm ${LIB_DIR}/PVE
+ # install pveclient
+ install -D -m 0644 PVE/APIClient/Helpers.pm ${LIB_DIR}/PVE/APIClient/Helpers.pm
+ install -D -m 0644 PVE/APIClient/Commands/remote.pm ${LIB_DIR}/PVE/APIClient/Commands/remote.pm
+ install -D -m 0644 PVE/APIClient/Commands/lxc.pm ${LIB_DIR}/PVE/APIClient/Commands/lxc.pm
+ install -D -m 0644 pve-api-definition.js ${LIB_DIR}/pve-api-definition.js