QUOTE(inode0 @ Aug 22 2005, 02:00 PM)
Let me ask if this seems a reasonable solution?
In diffutils' postinst make links from /usr/bin/diff and /usr/bin/diff3 to wherever they are really installed and in rcs' postinst do likewise for co and merge. Have all hardcoded paths in the rcs package point to /usr/bin and clean up the links in the postrm for each package.
John
I guess there's three more or less reasonable options:
a) package with postinst and postrm symlink management between expected location and location on card for compiled in paths, ipkg -d, add location on card to path
b) modify code to use execlp or execvp, ipkg -d, add location on card to path
c) set autoconf --prefix (for compiled in paths) to, and package under, /home/QtPalmtop (or whatever is the correct path for packages ending up there), qinstall
I don't think any of them really win, so you might as well go with your option a). I've been considering something involving
stow with no need to work out which links are needed or to add to the path, but I've only got half-baked ideas so far...