Other Help Topics :: how to make .dsl packages



It's just a simple question:
how do i make a .dsl package?

http://damnsmalllinux.org/wiki/index.php/Creating_MyDSL_Extensions
An example file '/usr/bla/bla' doesn't have to be in the root directory '/usr'. You can put a work directory 'usr' anywhere. When creating the .dsl:
Code Sample
tar zcvf blabla.dsl --numeric-owner --no-recursion usr/bla/bla usr/bla/blablabla

This is okay. Even when '/usr' is used, the '/' is removed by tar.
Putting files elsewhere than '/usr' means you can do testing and then remove the 'usr' directory.
Let's say you just finished compiling a software package with './configure' and 'make', and you want to install the files not to '/usr' but to '/mnt/hdax/usr'. You can do this very easily:
Code Sample
DESTDIR=/mnt/hdax make install

This will let '/mnt/hdax' be the root directory. So all the files for '/usr' will be installed in '/mnt/hdax/usr'.

thx, this will help :)

original here.