I'm writing a D application which I want to package as a Debian package.
Does anyone know of a tutorial, or a skeleton package, to show me how to to do this for a D application?
Do I need to use autotools to build it?
Thanks,
Chris.
IIRC, by default, D programs are stand alone; i.e. aside from system level .so dependencies (that shouldn't be included in the .deb) they have no dependencies. There are ways to make this not true but they are the exception. Consequently, a D 'hello world' binary, particularly from that standpoint of installing it, will look a lot like a C one.
The upshot of this is that, unless you are doing something strange, a C 'hello world' Debian package should be good enough to get you started.
If you know of any packaged D application, you can get the package's source:
apt-get source the-package-name
Provided that you added a deb-src
entry in your sources.list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With