summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2016-12-04 10:00:34 +0000
committersimonb <simonb@pkgsrc.org>2016-12-04 10:00:34 +0000
commit8db9ec99bbb830b38cbd5b528e865fc8aa1f30ef (patch)
treed75b64b113d60b47c395bbc97545bff034b915a8 /converters
parent6299c2f973cd107e00c6ae36c271b223bc97c8d0 (diff)
downloadpkgsrc-8db9ec99bbb830b38cbd5b528e865fc8aa1f30ef.tar.gz
Import p5-Convert-Bencode-1.03 as converters/p5-Convert-Bencode.
This module provides two functions, bencode and bdecode, which encode and decode bencoded strings respectivly.
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Convert-Bencode/DESCR2
-rw-r--r--converters/p5-Convert-Bencode/Makefile21
-rw-r--r--converters/p5-Convert-Bencode/distinfo6
3 files changed, 29 insertions, 0 deletions
diff --git a/converters/p5-Convert-Bencode/DESCR b/converters/p5-Convert-Bencode/DESCR
new file mode 100644
index 00000000000..fe030c7ed70
--- /dev/null
+++ b/converters/p5-Convert-Bencode/DESCR
@@ -0,0 +1,2 @@
+This module provides two functions, bencode and bdecode, which encode
+and decode bencoded strings respectivly.
diff --git a/converters/p5-Convert-Bencode/Makefile b/converters/p5-Convert-Bencode/Makefile
new file mode 100644
index 00000000000..af2346ffa34
--- /dev/null
+++ b/converters/p5-Convert-Bencode/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/12/04 10:00:34 simonb Exp $
+
+DISTNAME= Convert-Bencode-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Convert/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Convert-Bencode/
+COMMENT= Functions for converting to/from bencoded strings
+LICENSE= ${PERL5_LICENSE}
+
+### DEPENDS+= p5-List-UtilsBy-[0-9]*:../../devel/p5-List-UtilsBy
+### DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
+
+### USE_LANGUAGES= # empty
+### PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/Convert/Bencode/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/p5-Convert-Bencode/distinfo b/converters/p5-Convert-Bencode/distinfo
new file mode 100644
index 00000000000..ae65f54a2f5
--- /dev/null
+++ b/converters/p5-Convert-Bencode/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/04 10:00:34 simonb Exp $
+
+SHA1 (Convert-Bencode-1.03.tar.gz) = 45c97223f67cabd6cefbbf6a34543269f263ca76
+RMD160 (Convert-Bencode-1.03.tar.gz) = 2e9897080aa80740fbabed7f6244497a49bd7373
+SHA512 (Convert-Bencode-1.03.tar.gz) = 880ca4acff1e93b3bddf837921225d31bb0a697214db5eec8f906897b305ddc4d11b67587e5cae43b0dd7e4aa6c3bee6aee172c51750a3b70929ac3c99b8f582
+Size (Convert-Bencode-1.03.tar.gz) = 10640 bytes