I plan to share the source code of a larger software that depends on external libraries. The directory structure of the project is as follows
src/ ... my source code ext/ ... external source code
The external libraries only have few modifications and contain the original license headers. The external libraries have BSD, GPL, LGPL licenses.
The entire source code will be shared and additionally provided as pre-compiled binaries for download.
Can I put my code in
src/ under a different license than the external packages in
ext/? Specifically, I would like to restrict usage to research/academia and prohibit commercial use.