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

Dagobert Michelsen dam at opencsw.org
Fri Jun 1 14:49:51 CEST 2012


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.


Best regards

  -- Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list