I have a need to Debianize some static resources for a software project but am confused by the available information and could use some guidance in doing so. Here are the materials I've been reading:
- Rolling your own Debian packages
- Debian New Maintainer's Guide
- Debian Library Packaging Guide
- Debian Mentors FAQ
The Debian New Maintainer's Guide seems the most apropos, especially this chapter, but it's didactic presentation is not effective for me; it reads more as a re-learning reference than a guide for the unknowing. Much of the information I've found is likewise geared to getting packages included in a public repository which I do not need. To make it that some kindly folk might show me the way, I've created a small project statrec which exemplifies the type of package I need to create. It's source tree looks like so:
statrec/
├── LICENSE
├── README.md
├── share
│ ├── gilgamesh.txt
│ └── thoreau.txt
└── VERSION
I need to but am unable to deduce how to:
- install
statrec/share
to/usr/share/statrec/VERSION/
, - create or modify a symlink from
/usr/share/statrec/current/
to/usr/share/statrec/VERSION/
and then - uninstall previous versions of statrec.
I understand how to accomplish some of this, maybe which tools to use but feel rather paralized by the surfeit of information.