[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: taking dependencies

This one time, at band camp, pp wrote:
>Hello all at monday :)
>Is there any (I do not say easy) way 
>to automagically take dependencies from configure 
>script and place it in control files?

I do it manually, by vgrepping for lines like

checking for glGetError in -lGL... (cached) yes

so, you could write a script that greps for "^checking for", grabs the
library name, then does a dpkg -S to find out which package owns that

There may be other build-depends that this won't pick up, but seems to work
in most cases.

jaq@spacepants.org                           http://spacepants.org/jaq.gpg
*** Mr_Doobie has changed the topic on channel #sodfest97 to you are all
lamers with small penis's (Mr_Doobie)

Reply to: