Has anyone made anything (even just a script) to automatically download, untar, and make projects off of SourceForge in Linux? How could I do that?
I am using Ubuntu 12.10, specifically.
The standard workflow for installing from source is to download the package, decompress it run the included
Save this script as, for example,
I only want the first part (in bold) or the name of the file will be weird, so I will use:
This script will only work for those packages that follow the normal layout. It needs to be a tarred
There are a couple of tools that can help with that: Jordan Sissel's fpm and Bernd Ahlers fpm-cookery. The first being able to conveniently build packages from source code in a very simple manner, the second providing a way to automate this workflow.
I won't go into details, as the projects are very well documented and there are working recipes for different kinds of code.
If I understood your question right, then there is no such generic tool for "auto-build" all projects. Every project has its own specific steps to checking dependencies, downloading source, compiling & installing. If someone can build a certain application manually, he/she could write an auto-build script for that certain app, then share the script to the public for everyone's convenience.
Additionally, you can try to use ArchLinux, its AUR package manager is functioning in a similar way e.g. getting source code tarballs, installing dependencies, compiling, and installing. If one want to create such a package, read the AUR User Guidelines.