PDA

View Full Version : Creating .deb package for a Java app



paulby
November 29th, 2005, 02:25 AM
Hi,

I'm trying to create .deb packages for Project Looking Glass ( http://lg3d.dev.java.net ) and it's dependencies. This is mostly a java project so uses ant rather than make for build and deployment. I've updated the ant script to create the DEBIAN/control file and to run dpkg -b which all works fine, but I need to do more and I'm hoping someone here can offer guidance becuase thus far I've failed to find any documentation.

Firstly my shell scripts which are executable in the directory structure from which dpkg created the packages are being unpacked without being marked as executable. Is this expected, should I use postinst to fix this ?

How do I interact with the user during install time ?

I'm sure I'll think of other stuff later, but help with these issues would be a great start ;-)

Thanks

Paul

prince2689
December 22nd, 2009, 05:05 PM
check out this page

https://wiki.ubuntu.com/PackagingGuide/Complete

Hope it will help you.....

mimadfli
December 25th, 2009, 01:32 AM
I have compiled stuff from source before with the