[Buildroot] [PATCH 1/1] perl-file-util: new package

Carlos Santos casantos at datacom.ind.br
Fri Feb 27 18:27:41 UTC 2015


Perl File::Util module (host and target packages)

Change-Id: I4fb7693052c372f4b3bbadf56244e0f0e0ca2654
Signed-off-by: Carlos Santos <casantos at datacom.ind.br>
---
 package/Config.in                        |  1 +
 package/perl-file-util/Config.in         |  6 ++++++
 package/perl-file-util/perl-file-util.mk | 15 +++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/perl-file-util/Config.in
 create mode 100644 package/perl-file-util/perl-file-util.mk

diff --git a/package/Config.in b/package/Config.in
index 262a7fb..2159bd6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -469,6 +469,7 @@ endif
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
 	source "package/perl-datetime-tiny/Config.in"
+	source "package/perl-file-util/Config.in"
 	source "package/perl-gd/Config.in"
 	source "package/perl-gdgraph/Config.in"
 	source "package/perl-gdtextutil/Config.in"
diff --git a/package/perl-file-util/Config.in b/package/perl-file-util/Config.in
new file mode 100644
index 0000000..871be98
--- /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.mk b/package/perl-file-util/perl-file-util.mk
new file mode 100644
index 0000000..c8b4441
--- /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))
-- 
1.8.3.1



More information about the buildroot mailing list