Subject: bug#26784: Add linuxdcpp

From: [email-masked] (Ludovic Courtès)
Date: Fri, 05 May 2017 17:58:03 +0200

Hi Arun,

Arun Isaac <[email-masked]> skribis:

> Please find attached a patch adding linuxdcpp to Guix.
>
> From b3f3bd48c0d8216c1c9276c07a0c5b3117b2f3d2 Mon Sep 17 00:00:00 2001
> From: Arun Isaac <[email-masked]>
> Date: Fri, 5 May 2017 19:40:31 +0530
> Subject: [PATCH] gnu: Add linuxdcpp.
>
> * gnu/packages/direct-connect.scm (linuxdcpp): New variable.

[...]

> +         (replace 'build
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out")))
> +               (mkdir-p out)
> +               (zero? (system* "scons" (string-append "PREFIX=" out))))))

If it makes sense you could add:

  "-j" (number->string (parallel-job-count))

Otherwise LGTM.

Thanks!

Ludo’.