[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 03/16] gnu: Add perl-socket6.
From: |
Danny Milosavljevic |
Subject: |
[PATCH v3 03/16] gnu: Add perl-socket6. |
Date: |
Thu, 28 Jul 2016 13:04:18 +0200 |
gnu: Add perl-socket6.
* 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 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=" 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)))
- [PATCH v3 00/16] Add missing dependencies of Spamassassin, Danny Milosavljevic, 2016/07/28
- [PATCH v3 01/16] gnu: Add perl-db-file., Danny Milosavljevic, 2016/07/28
- [PATCH v3 02/16] gnu: Add perl-net-dns., Danny Milosavljevic, 2016/07/28
- [PATCH v3 03/16] gnu: Add perl-socket6.,
Danny Milosavljevic <=
- [PATCH v3 05/16] gnu: Add perl-netaddr-ip., Danny Milosavljevic, 2016/07/28
- [PATCH v3 04/16] gnu: Add perl-net-dns-resolver-programmable., Danny Milosavljevic, 2016/07/28
- [PATCH v3 07/16] gnu: Add perl-file-find-object., Danny Milosavljevic, 2016/07/28
- [PATCH v3 09/16] gnu: Add perl-test-trailingspace., Danny Milosavljevic, 2016/07/28
- [PATCH v3 11/16] gnu: Add perl-net-cidr-lite., Danny Milosavljevic, 2016/07/28
- [PATCH v3 12/16] gnu: Add perl-geo-ip., Danny Milosavljevic, 2016/07/28
- [PATCH v3 10/16] gnu: Add perl-encode-detect., Danny Milosavljevic, 2016/07/28
- [PATCH v3 08/16] gnu: Add perl-file-find-object-rule., Danny Milosavljevic, 2016/07/28
- [PATCH v3 14/16] gnu: Add perl-crypt-openssl-bignum., Danny Milosavljevic, 2016/07/28
- [PATCH v3 13/16] gnu: Add perl-crypt-openssl-rsa., Danny Milosavljevic, 2016/07/28