\begin{longtable}{|X|c|c|}
  \hline
  \multicolumn{1}{|c|}{\bf 3rd Party Package}
  & \multicolumn{1}{c|}{\bf depkgs}
  & \multicolumn{1}{c|}{\bf depkgs-qt} \\
  \endfirsthead
  \hline
  \multicolumn{1}{|c|}{\bf 3rd Party Package}
  & \multicolumn{1}{c|}{\bf depkgs}
  & \multicolumn{1}{c|}{\bf depkgs-qt} \\
  \hline
  \endhead
  \hline
  \multicolumn{3}{c}{Cont. on next page} \\
  \endfoot
\hline
  \caption{Dependency packages} \\
  \endlastfoot
  \hline SQLite3 & X & \\
 \hline mtx & X & \\
 \hline qt4 & & X \\
\end{longtable}
