From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add perl-socket6.
Date: Tue, 26 Jul 2016 22:43:31 +0200 [thread overview]
Message-ID: <20160726224331.52883f8a@scratchpost.org> (raw)
From: Danny Milosavljevic <dannym@scratchpost.org>
* gnu/packages/networking.scm (perl-socket6): New variable.
---
gnu/packages/networking.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a271543..c56ec36 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -399,3 +399,36 @@ network frames.")
"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=" out)
+ "INSTALLDIRS=site")))
+ (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 manipulators for Perl")
+ (description "Socket6 binds the IPv6 related part of the C socket header
+definitions and structure manipulators for Perl.")
+ (license license:bsd-3)))
next reply other threads:[~2016-07-26 20:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 20:43 Danny Milosavljevic [this message]
2016-07-28 9:13 ` [PATCH] gnu: Add perl-socket6 ng0
2016-07-28 11:00 ` Danny Milosavljevic
2016-07-28 11:36 ` ng0
2016-07-28 12:00 ` Whole-Package Extractor Program (extracts a whole package from a patch (that would be adding an entire package) and applies it to a master clone and commits) Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160726224331.52883f8a@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.