I'm running gentoo and have manually compiled and installed the flann library. I need to create a binary package with the extension of .tar.tbz2 that has all the required files. I tried installing into a separate folder and compressing it but it wasn't recognized as an actual package. (Using make install DESTDIR=folder)
My attempt at the file contained usr as a subdirectory.
Additional info: I'm packaging the library as a part of cross-compiling.