I would like to create a Midnight Commander package containing the binaries and all related files/folders as the following (this is just an example):
$HOME/{FOLDER}/../mc (this will be a folder or subfolder in my home directory) and below will be the structure:
mc ---> the folder containing all Midnight Commander required files & folders
├── bin ---> this is a folder
│ ├── mc
│ ├── mcdiff -> mc
│ ├── mcedit -> mc
│ └── mcview -> mc
├── etc ---> this is a folder
│ └── mc ---> this is a folder
│ ├── edit.indent.rc
│ ├── filehighlight.ini
│ ├── mc.default.keymap
│ ├── mcedit.menu
│ ├── mc.emacs.keymap
│ ├── mc.ext.ini
│ ├── mc.keymap -> mc.default.keymap
│ ├── mc.menu
│ └── sfs.ini
├── lib ---> folder containing al required libraries
├── libexec ---> this is a folder
│ └── mc ---> this is a folder
│ ├── ext.d ---> this is a folder
│ ├── extfs.d ---> this is a folder
│ ├── fish ---> this is a folder
│ ├── cons.saver
│ ├── mc.csh
│ ├── mc.sh
│ ├── mc-wrapper.csh
│ └── mc-wrapper.sh
└── share ---> this is a folder
├── locale ---> this is a folder
├── man ---> this is a folder containing man files)
└── mc
├── examples ---> this is a folder
├── help ---> this is a folder containing *.hlp files)
├── hints ---> this is a folder containing *.hint files)
├── skins ---> this is a folder containing *.ini skin files)
├── syntax ---> this is a folder containing *.syntax files)
├── mc.charsets
└── mc.lib
So does anyone can help me which parameters I need to use with "configure" to create such a standalone/static package
FYI - I have been playing with the following parameters:
./configure --prefix=$HOME/mc --disable-shared --enable-static
after creating the package (using make && make install) it does give the results I am looking for, cause when I move the folder to a different place, like
$HOME/mytools/mc
I get all sorts of errors like not being able to find the Syntax file, or the help file, etc...
Thanks in advance for your replies