15 Oct
2014
15 Oct
'14
1:01 p.m.
* Jeremy Audet <ichimonji10@gmail.com> (Tue, 14 Oct 2014 23:17:03 -0400):
Upstream has added a sample pkg-config config file to their source code. I'd like to install a slightly modified version of that config file to users' systems. The question is this: when do I make those minor modifications? Should I copy and patch the pkg-config file during the `prepare` function? Should I wait until `package`?
IMHO, it's like patches to the sources: you don't want that to happen twice if someone tries to build your package with --noextract, it will fail. So I think those changes should be done in prepare(), not in package(). Regards, Marcel