LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install destination simple question (https://www.linuxquestions.org/questions/linux-software-2/install-destination-simple-question-85290/)

exodist 08-24-2003 07:09 PM

install destination simple question
 
I am working on a script which I will post later that will automatically take a directory of sources and make packages for each one unattended. it should be able to do it for most standard perl, python, c++ and other types of sources.

I know that when you want to install a source that uses a configure/makefile style to a temp directory to make it into a package you do it this way:
./configure --prefix=prefix
make
make install DESTDIR=tempdir

then you can make a package from that directory and how differs by weather you use rpm, tgz or deb.

I need to know how to do this for python, perl and any others anyone knows about. I will post the script afterwords and it is mostly complete and works well.

also I was going to do it for slack, but if someoen will post what command to issue to make the directory into a deb or rpm package (I know slack already) I will add an option to make everything into that kind of package.

if you are wondering how such a script can be useful imagine this:

if you want mplayer and every possible support feature etc.. you need to download, compile and install around 100 programs, it takes me about 1 hour to install it using a script then going in and compiling the perl and python by hand, with this it will be unattended and you can save the packages for next time you need them.

if anyone has any of this information please post it, and am sure there are similar scripts out there, but I would rather use my own because of the format, I want it to be powerful for high end users, yet newbie safe.


All times are GMT -5. The time now is 10:09 AM.