From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v5 03/17] gnu: Add perl-socket6. Date: Thu, 28 Jul 2016 23:38:19 +0200 Message-ID: <20160728213833.22057-4-dannym@scratchpost.org> References: <20160728213833.22057-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1V-0007dZ-BH for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSt1S-000661-PV for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:20 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1S-00065X-J8 for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:18 -0400 In-Reply-To: <20160728213833.22057-1-dannym@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable gnu: Add perl-socket6. * gnu/packages/networking.scm (perl-socket6): New variable. --- gnu/packages/networking.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) --------------2.9.1 Content-Type: text/x-patch; name="0003-gnu-Add-perl-socket6.patch" Content-Disposition: attachment; filename="0003-gnu-Add-perl-socket6.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 0568836..a6318b2 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -436,3 +436,36 @@ application stack itself.") "Perl Interface to the Domain Name System") (description "Net::DNS is the Perl Interface to the Domain Name System= .") (license license:x11))) + +(define-public perl-socket6 + (package + (name "perl-socket6") + (version "0.28") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/U/UM/UMEMOTO/Socket6-" + version + ".tar.gz")) + (sha256 + (base32 + "11j5jzqbzmwlws9zals43ry2f1nw9qy6im7yhn9ck5rikywrmm5z")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (args `("Makefile.PL" + ,(string-append "PREFIX=3D" out) + "INSTALLDIRS=3Dsite"))) + (setenv "CONFIG_SHELL" (which "sh")) + (zero? (apply system* "perl" args)))))))) + (home-page "http://search.cpan.org/dist/Socket6") + (synopsis + "IPv6 related part of the C socket.h defines and structure manipulat= ors for Perl") + (description "Socket6 binds the IPv6 related part of the C socket head= er +definitions and structure manipulators for Perl.") + (license license:bsd-3))) --------------2.9.1--