[wpkg-users] Define conditionally a variable...
Adam Thorn
alt36 at cam.ac.uk
Wed Feb 25 11:51:46 CET 2026
On 24/02/2026 14:27, Marco Gaiarin wrote:
>
> I know i can define variables in WPKG packages.
>
> But there's some way to define variables based on some condition? I have a
> recipe that need a variable, but i can easily interfere value from other
> variables/condition, so i can define it only if needed... some sort of
> 'default value'.
I think the only conditional properties you can use on <variable>
elements are those listed at:
https://wpkg.org/Extended_host_attribute_matching
If you need anything more general, you'll have to run an external script
to define the variables.
Regards,
Adam
More information about the wpkg-users
mailing list