Hello Shayon,

I'm new to packaging myself, but it looks to me that you only have to
add the installer script (or the two lines in it itself) into the
debian/rules file under "build-stamp:" :

debian/rules:
(...)
configure: configure-stamp
configure-stamp:
        dh_testdir
        # Add here commands to configure the package.
        
        touch configure-stamp

build: build-stamp

build-stamp: configure-stamp 
        dh_testdir

        # Add here commands to compile the package.
        linux-install.sh
        
        touch build-stamp

I don't think you would need the configure(-stamp) either, I just
included it to be complete. 

Of course you will need to put a JRE as a dependency in debian/control,
too. (Although, I don't think you need it as a build dependency)

I hope I could be of help,

Florian

Am Sonntag, den 02.10.2011, 15:50 -0500 schrieb Shayon Mukherjee:
> Hello,
> 
> I am new to MOTU and packaging and currently working on the 
> needs-packaging bug. So, i found a bug and got the source code of it. 
> But there is no make-file in it, that being said I think some tunning 
> will be needing in the rules file right ?
> 
> if so is there a sample/template i can look into ?
> 
> This source has a linux-install.sh file, that being said it installs 
> using the shell script. Or should i just try to convert the shell scrip 
> to .deb first. I havent done that before but read somewhere. And not 
> sure how it will help either?
> 
> For reference the bug is - https://bugs.launchpad.net/ubuntu/+bug/830052
> 
> Thanks much
> 
> Shayon
> 



-- 
Ubuntu-motu mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to