Generate a pkconfig file for external modules