Hi,
I'm planning to migrate the fan-driver of pentasata package. It is a driver available for debian systems which consist of several python scripts.
... but most of the required python modules are not available in libreElec.
Therefore my plan looks like a huge challenge, which I can't solve on my own.
Searching the forum I thought, I would find some advice on adding packages, but it looks as if that wiki section has been removed.
Now I'm unsure, whether the right way would be, create several packages or create an addon.
I tried to create a package by creating a directory below packages/tools called pigpio. There I created a package.mk by using a clone from another package and modified the variables. I removed all functions from package.mk
Executing scripts/download works so far and creates the files in sources tree.
On executing make image the only thing that happens is, that pigpio appears in .cache_package_global but no logfile that shows anything about a failed build process.
I tried to understand the build system, but it is really complex and I don't know, how to build a single package within the toolchain.
Is there any docs I can learn how to create a package for libreElec?
Or anything to read and try to understand the build process?
How should/could I proceed?