aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Christopher McCrory <chrismcc@gmail.com>2018-08-10 09:14:53 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-12 23:40:27 +0200
commit61bc823035249da55d37364c56c79fae278be4ae (patch)
treef0654844625ebe68b991c3aeac507cbaef4ac881
parentcd1788f676833da41a315851cdeb9bd55d4c2e10 (diff)
downloadbuildroot-61bc823035249da55d37364c56c79fae278be4ae.tar.gz
buildroot-61bc823035249da55d37364c56c79fae278be4ae.tar.bz2
perl-file-slurp: new package
Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/perl-file-slurp/Config.in7
-rw-r--r--package/perl-file-slurp/perl-file-slurp.hash6
-rw-r--r--package/perl-file-slurp/perl-file-slurp.mk13
5 files changed, 28 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index a1c037aedb..8348ce102f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -488,6 +488,7 @@ F: package/perl-data-uuid/
F: package/perl-date-manip/
F: package/perl-dbi/
F: package/perl-device-serialport/
+F: package/perl-file-slurp/
N: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
F: package/audit/
diff --git a/package/Config.in b/package/Config.in
index 23a5628f50..ba5b0e1699 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -684,6 +684,7 @@ menu "Perl libraries/modules"
source "package/perl-encode-detect/Config.in"
source "package/perl-encode-locale/Config.in"
source "package/perl-file-listing/Config.in"
+ source "package/perl-file-slurp/Config.in"
source "package/perl-file-util/Config.in"
source "package/perl-gd/Config.in"
source "package/perl-gdgraph/Config.in"
diff --git a/package/perl-file-slurp/Config.in b/package/perl-file-slurp/Config.in
new file mode 100644
index 0000000000..69a8871717
--- /dev/null
+++ b/package/perl-file-slurp/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_FILE_SLURP
+ bool "perl-file-slurp"
+ help
+ Simple and Efficient Reading/Writing/Modifying of Complete
+ Files
+
+ https://metacpan.org/release/File-Slurp
diff --git a/package/perl-file-slurp/perl-file-slurp.hash b/package/perl-file-slurp/perl-file-slurp.hash
new file mode 100644
index 0000000000..18f9e65ced
--- /dev/null
+++ b/package/perl-file-slurp/perl-file-slurp.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 7d584cd15c4f8b9547765eff8c4ef078 File-Slurp-9999.19.tar.gz
+sha256 ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643 File-Slurp-9999.19.tar.gz
+
+# computed by scancpan
+sha256 17e638d011c04b1d39b300c07ccd0c57d7857b9ccdb9fe7abce1b15f0e7b0c20 README
diff --git a/package/perl-file-slurp/perl-file-slurp.mk b/package/perl-file-slurp/perl-file-slurp.mk
new file mode 100644
index 0000000000..32773ddbbc
--- /dev/null
+++ b/package/perl-file-slurp/perl-file-slurp.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-file-slurp
+#
+################################################################################
+
+PERL_FILE_SLURP_VERSION = 9999.19
+PERL_FILE_SLURP_SOURCE = File-Slurp-$(PERL_FILE_SLURP_VERSION).tar.gz
+PERL_FILE_SLURP_SITE = $(BR2_CPAN_MIRROR)/authors/id/U/UR/URI
+PERL_FILE_SLURP_LICENSE = Artistic or GPL-1.0+
+PERL_FILE_SLURP_LICENSE_FILES = README
+
+$(eval $(perl-package))