How to best handle one orig tarball with two source packages
I have a source tarball that is primarily for a library, but also has a subdirectory for a few example programs that depend on that library. Basically that subdirectory is like a different project, with its own makefile, and runs on the assumption that the library has already been installed. I'm wondering about the best way to make a source package for that subdirectory.
The most straight-forward approach that I know is to just have a new source package for the example programs, but this seems to mean I have to upload the full orig tarball twice with two different names, one for each source package. That seems kind of wasteful.
Is there perhaps a way to have a source package depending on an orig tarball with a different name than would typically be derived from the souce package name, and therefore have the example program source package use the orig tarball of the library source package?
Or perhaps there is a way to tell launchpad that two tarballs are actually the same file with two different names?
Or perhaps there is some clever way to build the example programs binary package from the same source package that builds the libraries, even though it is a separate makefile that assumes the installation of those library binary packages?
Thanks for any suggestions here!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- snd
- Solved:
- Last query:
- Last reply: