Sense or Nonsense!?

04.11.2008

Make Psi Deb Package

Filed under: Jabber — Ephraim @ 14:40

I always wondered howto create debian packages and always needed psi deb packages, so I just tried to create one package for psi. Two things done by one research :) .

And a step further; create a script which does the job for me. Just give it the source and the destination and it will bring me a psi deb package to my desktop.

For all who want to do this too, here is my script: mkpsideb.tar.gz

The usage is easy, as I said, the source directory and then the configure prefix directory and you are done. If some additional configure options are needed to compile psi on your desk, the third parameter is a direct passthrough to configure.

Example:
psi source is at ~/Desktop/psi-0.13
Script is placed at the Desktop.
so open up a terminal and do the following steps:

cd ~/Desktop
./mkpsideb.sh psi-0.13 /opt/psi-dev/0.13

And then you have a psi debian package right at your desktop.
But please, have a look into the Script before! You should min. change the maintainer setting at the very top variables.

Prerequisite is, that you can at least build psi manually.

ciao Ephraim

Powered by WordPress