Building pvr.demo in Ubuntu 14.04.4 LTS

I have a PVR backend I have written which works fine, and wanted to write a Kodi PVR addon for it. I’ve downloaded the pvr.demo source code to see what’s necessary and – as far as I can see – followed instructions on building it:

Code:
git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/kodi-pvr/pvr.demo.git
cd pvr.demo && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.demo -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make

although I had to change the cmake path to ../../xbmc/cmake/addons (remove the ‘project’ folder) to get it to go. After that ran ‘make all’ and it seems to have built OK. It seems to have created some shared libraries, anyway.

Now I’m not at all sure how to load it into the local installed copy of Kodi (which does have PVR support – currently I use mythtv). The options are install from repository or from ZIP file. It’s not in a repository, so I guess that leaves ZIP file.

What make hasn’t done is create a ZIP file, despite the cmake command line having PACKAGE_ZIP set to 1, and I cannot see anything in a makefile to indicate that it would try, either. File roller is installed.

Not sure how to proceed. Any advice?

I’d point out that whilst I have an lot of C/C++ and general software experience, it has all been on Windows and embedded systems prior to writing this PVR backend, so my knowledge of Linux is fairly limited, and cmake, pretty much zero up to yesterday (although I can see what it does).

The system is Ubuntu 14.04.4 LTS, Kodi 16.1 Git:c327c53, cmake 3.7.2, g++ 4.8.4.

Any help or pointers to ‘pvr addons for dummies documents’ would be appreciated. (I must admit I was hoping it could all be done with python scripts – something else I have no current knowledge of – but it seems not).