[csw-maintainers] how to express dependencies on alternatives?

Peter FELECAN pfelecan at opencsw.org
Sat Jun 2 10:34:01 CEST 2012


Dagobert Michelsen <dam at opencsw.org> writes:

> Hi Peter,
>
> Am 31.05.2012 um 10:25 schrieb pfelecan at opencsw.org:
>> Emacs new packaging uses the alternatives system.
>> 
>> There are packages, such as auctex, depending on the generic Emacs at
>> run-time and/or build time.
>> 
>> How can I express such dependencies?
>> 
>> Concretely: auctex depends (build and run-time) on emacs (the X11
>> Athena based widget) or emacs_gtk or emacs_nox.
>
> There is another possibility I use for
>   https://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/gnuplot/trunk/Makefile
> There is a base package with basic dependencies and a more features one like
>   gnuplot_wx
> which has alternatives with higher priority which only contains the more enhanced
> binaries. You can depend and run the basic one and the more featurefull is used
> when installed.

Thank you. Finally I'm using Joerg and Ben proposed solution as it fits
well with my use case.
-- 
Peter


More information about the maintainers mailing list