summaryrefslogtreecommitdiff
path: root/package/perl-file-util
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2015-03-02 07:55:47 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-05 23:39:56 +0100
commitf1611c6a41776110ed40197aaa263ce9968e3c58 (patch)
tree9db9e9e1790e5b5fbf692db70012dc34f3c94cbb /package/perl-file-util
parentecdcd55eb5a39815ea3b4737bae37c41d89cef36 (diff)
perl-file-util: new package
The host variant is useful to build some third-party packages that need this Perl module. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-file-util')
-rw-r--r--package/perl-file-util/Config.in6
-rw-r--r--package/perl-file-util/perl-file-util.hash3
-rw-r--r--package/perl-file-util/perl-file-util.mk15
3 files changed, 24 insertions, 0 deletions
diff --git a/package/perl-file-util/Config.in b/package/perl-file-util/Config.in
new file mode 100644
index 000000000..871be988a
--- /dev/null
+++ b/package/perl-file-util/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_FILE_UTIL
+ bool "perl-file-util"
+ help
+ Easy, versatile, portable file handling
+
+ https://github.com/tommybutler/file-util/wiki
diff --git a/package/perl-file-util/perl-file-util.hash b/package/perl-file-util/perl-file-util.hash
new file mode 100644
index 000000000..1e613dc01
--- /dev/null
+++ b/package/perl-file-util/perl-file-util.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 93c572b4c54743a7ef383486dd2c4014 File-Util-4.132140.tar.gz
+sha256 4233c493468da8b34f2df19b191aaa400f328d877c8c023605e43385976a99d1 File-Util-4.132140.tar.gz
diff --git a/package/perl-file-util/perl-file-util.mk b/package/perl-file-util/perl-file-util.mk
new file mode 100644
index 000000000..c8b4441d1
--- /dev/null
+++ b/package/perl-file-util/perl-file-util.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# perl-file-util
+#
+################################################################################
+
+PERL_FILE_UTIL_VERSION = 4.132140
+PERL_FILE_UTIL_SOURCE = File-Util-$(PERL_FILE_UTIL_VERSION).tar.gz
+PERL_FILE_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOMMY
+PERL_FILE_UTIL_DEPENDENCIES = perl host-perl-module-build
+PERL_FILE_UTIL_LICENSE = Artistic or GPLv1+
+PERL_FILE_UTIL_LICENSE_FILES = COPYING LICENSE
+
+$(eval $(perl-package))
+$(eval $(host-perl-package))