Why define install/uninstall commands for a Cmake-based package?
If you need to install extra files, you can do the following:

define APITRACE_INSTALL_FOO
do_something
endef

 APITRACE_POST_INSTALL_TARGET_HOOKS += APITRACE_INSTALL_FOO