How do you define package dependencies?

General talk about packaging procedures and packages.
Post Reply
phayz
Posts: 62
Joined: 24. Nov 2010, 21:06

How do you define package dependencies?

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: How do you define package dependencies?

Post by gapan »

Code: Select all

man depfinder
and sometimes some manual work.
Image
Image
phayz
Posts: 62
Joined: 24. Nov 2010, 21:06

Re: How do you define package dependencies?

Post 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. :)
Post Reply