Is it possible to create a deb package for Ubuntu, which contains source codes and automatically compiles them into executable during its installation?
I haven't found any tutorials for this, only tutorials about "how to compile package from sources", which is quite different thing from what i want. That makes me think, this might not be a good idea.
So, is this possible at all, and if yes, is it a good idea?
That's not how .deb
packages work. They contain pre-compiled software, you can't just make a deb package with source code. I have a suggestion: why don't you make a .tar.gz package containing your source code and a script to compile it? The script should look like this:
#!/bin/bash
# here comes the code to compile your source code, like the usual. Change to fit your needs.
./configure
make
make install
No comments:
Post a Comment