Page 1 of 1

How do you define package dependencies?

Posted: 29. Nov 2010, 22:12
by phayz
I have been looking over documentation about how to package applications for Salix and I wonder how dependencies are specified? AFAIK no dependencies can be specified in a SLACKBUILD file so if they're not recorded there, where are they defined?

If this is in the official documentation, please feel free to tell me to RTFM.

Re: How do you define package dependencies?

Posted: 29. Nov 2010, 22:33
by gapan

Code: Select all

man depfinder
and sometimes some manual work.

Re: How do you define package dependencies?

Posted: 29. Nov 2010, 23:35
by phayz
gapan,

Thanks for your reply. I have now read the man page of 'depfinder' and it looks to be a really useful tool. I was browsing another forum topic and again read the Packaging rules wiki entry (http://www.salixos.org/wiki/index.php/Packaging_rules) and this time I see the text:

"If a package "packagename.txz" has any external dependencies then the txz file should be accompanied by a file named "packagename.dep" that includes a comma separated list of dependencies. You can use depfinder to create that file."

I have more reading and understanding to do, but it seems I should have RTFM. That's "Fine Manual" for anyone who's interested. :)