Closed ivanperez-keera closed 7 years ago
Hi. You can alter the mapping from cabal "extra-libraries" name to debian package name using cabal-debian's --dep-map flag:
cabal-debian --dep-map SDL_mixer:mysdlmixerlib
will put mysdlmixerlib into the Depends list.
Oh, that's great. Thanks for responding so quickly.
I think that solves my problem then. I'll close and re-open if necessary.
I'm writing a program that uses sdl-mixer.
(The dependency on SDL_mixer is not explicit in sdl-mixer's cabal file. I need to add that to my program's cabal file unfortunately. But that is not the point.)
I added SDL_mixer as an extra library to my cabal file.
That's because:
But cabal-debian generates a control file containing the following:
I'd like to generate the debian files automatically from the package every time (I think it's better than having them in the repo.
Any clues as to how to address this issue?
Thanks in advance!