[Pkg-erlang-devel] Where's the Debian Erlang Policy

Sergei Golovan sgolovan at nes.ru
Mon Apr 11 06:48:03 UTC 2016


Hi Ihor,

On Fri, Apr 8, 2016 at 5:00 PM, Ihor Kaharlichenko <madkinder at gmail.com> wrote:
> Hi.
>
> I'd like to package some software written in Erlang, but I can't seem to
> find a starting point.
>
> For example, for Java based software we have these:
> * https://www.debian.org/doc/packaging-manuals/java-policy/
> * https://wiki.debian.org/DebianJavaPackaging
>
> I couldn't find anything similar to this for Erlang. Could you please point
> me to such a document?

There's no such a policy for Erlang in Debian, sorry. I guess, nobody has been
motivated enough to write it. So, as a general hint, just find some similar
package and hack it.

I can add just a few useful tools which are specific to Debian:

1) If your packages is supposed to build with rebar then you will benefit
from dh-rebar debhelper plugin.

2) Dependencies on the core Erlang/OTP packages can be calculated
automatically by using ${erlang:Depends} substitution variable in
debian/control and running erlang-depends after the package is built
(see the erlang-depends manpage).

And you can always show your package here to get some comments
and/or suggestions.

Cheers!
-- 
Sergei Golovan



More information about the Pkg-erlang-devel mailing list