You are not logged in.

#1 2021-06-27 14:11:35

ska67
Member
Registered: 2020-01-01
Posts: 3

Options for dependency configuration

I want to package a software project that uses configure options to switch between different dependencies.

I could use different PKGBUILD files to create different packages.
I could use a split package PKGBUILD file to build multiple packages at the same time for different requirements.
I could use environment variables in the PKGBUILD file to control the build process.

What is the Arch Linux way to do this?

Offline

#2 2021-06-27 16:09:23

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 2,198
Website

Re: Options for dependency configuration


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#3 2021-06-28 10:49:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,342

Re: Options for dependency configuration

All of those 3 methods are possible / in use,have specific advantages and drawbacks .

Assessing which is best fit can only be done per individual case, your description needs to include a lot more detail.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB