Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Question:

Mono 3.0 is out, but I found no ppa from where I could install it.

There is this one: https://launchpad.net/~directhex/+ppa-packages

but it's mono 2.10.8.1-5.

I'm playing with ASP.NET MVC4, which is why I need the 3.0 release.

Now I can compile & install mono 3.0 myself. How I do it, I tutorialized here: http://ubuntuforums.org/showthread.php?t=1591370

My problem now is, for every new ubuntu installation I have/want to make (server, laptop, desktop, renewed installation when HD breakes) I need to go through this lengthy procedure again.

So I want to compile it once, and then upload it to a PPA, so that I (and everybody else) don't need to install it from source again.

Now the question: The entire build process needs configure run with options, post-configure makefile fixes, post-configure sourcecode fixes, etc.

Is there an easy way I can create .deb packages from the already compiled files ?

So that in the installation script, I only need to write several times:

cd package_directory_1/
make install
cd package_directory_2/
make install
cd package_directory_3/
make install

etc.

?

share|improve this question
3  
For personal use , you can use checkinstall, But it is not enough for ppa –  Tachyons Jan 11 '13 at 17:49
    
Packaging is a job on its own. It's not something you just do by running a simple set of commands. dh* scripts to aid you have a lot of heuristics, but will not automate all for you. I suggest you to start by looking at current packages (dget http://some-ppa/thepackage.dsc) and the Packaging Guide. The good news is that GNU Autotools powered sources are fairly easy to package (at least for personal use, not having to meet the high standards in Debian/Ubuntu). –  gertvdijk Jan 11 '13 at 18:14
add comment

2 Answers 2

up vote 1 down vote accepted

checkinstall, as per tip from Tachyons

apt-get install checkinstall 

checkinstall -D make install

See here for further information:
http://www.falkotimme.com/howtos/checkinstall/

share|improve this answer
add comment

Did you try:

make package

It will not install anything but create a package.

JM

share|improve this answer
    
Error "make: *** No rule to make target 'package'. Stop." –  WitchCraft Jan 25 '13 at 12:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.