Check out the May 2004 issue of Linux Journal  and read the article “How to Build LSB Applications .” The article was authored by Stuart Anderson, lead developer of the LSB Written Specification, who writes:
Don’t leave your Linux software stuck on one distribution.
The Linux Standard Base (LSB) specifies an interface between an application and a runtime environment. Many distributions have achieved certification for their runtime environments. This article outlines the steps needed to build applications that adhere to the LSB interface.
Read the full article on how to build LSB applications  as it appears in Linux Journal.