Recipe package?

Continuing the discussion from Playground:

I know HaikuPorter can build from a recipe directly, but how hard would it be to make a recipe builder within the HaikuDepot app?

I often find “source packages” for Manjaro and Arch Linux helpful to not only build from source but supply scripts to import from foreign package formats from other Linux distros. The AUR repo is separate from binary packages due to its user-supplied scripts and associated security risks.

Just for reference, this is in response to the Lazarus IDE and FreePascal environment being too big to be supplied as an HPKG file.

1 Like

I tried to use the script I run to build Lazarus with a recipe, for some reason it has problems detecting FPC (iirc), if I would get that right maybe a recipe could be made for it (been a long time ago since I last tried).

For the record, there is still a lazarus_bin package in the depot, so one can always still use that, one disadvantage (and this has been told before in other threads), I don’t think it can rebuild “itself” due to read-only directories.

Having said that, AUR/Arch and some other recipes are handy to lookup on used variables/build options/patches, not sure if we could use those as a template to create our own recipes though.

2 Likes