Re: packaging help?



If you want to build a very simple .deb package you can also build it with dpkg -b.

I've created a very simple example here:
http://dl.dropbox.com/u/961086/myapp-1.0.tar

The only additional file you need in this case is debian/control.

When you extract the above tarball you'll get a directory hierachy like that:
myapp-1.0
--> usr/
     --> bin/
           --> myscript
--> debian/
      --> control

All you have to do to get the debian package is:

1) go to the folder where you have extracted the tarball
2) enter dpkg -b myapp-1.0


Please note: This is not the "official" debian way and it is not good practice, but packaging is not a very trivial task. In order to get "best practice" debian packages please use the CPAN structure as the canonical source and use dh-make-perl to build the package (as already mentioned in earlier posts).

Regards
Mario



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]