Skip to contentSkip to conversation

This change adds Perl File::Util module (host and target packages)

PATCH New Carlos Santos 2 participants 3 messages Mar 2, 2015 – Mar 5, 2015

lore
Share & tools
lore
#0 lore raw

v2 cover This change adds Perl File::Util module (host and target packages)

At the company I work for (DATACOM) we use a third-party software whose compilation is performed by a set of Perl scripts which use the File::Util module. That's why we need the host package.

Of course we could use the Perl packages provided by the host OS but we prefer to reduce the dependencies with regard to the host OS.

Carlos Santos (1):
perl-file-util: new package

 package/Config.in                          |  1 +
 package/perl-file-util/Config.in           |  6 ++++++
 package/perl-file-util/perl-file-util.hash |  3 +++
 package/perl-file-util/perl-file-util.mk   | 15 +++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/perl-file-util/Config.in
 create mode 100644 package/perl-file-util/perl-file-util.hash
 create mode 100644 package/perl-file-util/perl-file-util.mk
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH v2 1/1 perl-file-util: new package

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

---
 package/Config.in                          |  1 +
 package/perl-file-util/Config.in           |  6 ++++++
 package/perl-file-util/perl-file-util.hash |  3 +++
 package/perl-file-util/perl-file-util.mk   | 15 +++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/perl-file-util/Config.in
 create mode 100644 package/perl-file-util/perl-file-util.hash
 create mode 100644 package/perl-file-util/perl-file-util.mk
package/Config.in +1 -0
index 262a7fb..2159bd6 100644
@@ -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"
package/perl-file-util/Config.in new file +6 -0
new file mode 100644
index 0000000..871be98
@@ -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
package/perl-file-util/perl-file-util.hash new file +3 -0
new file mode 100644
index 0000000..1e613dc
@@ -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
package/perl-file-util/perl-file-util.mk new file +15 -0
new file mode 100644
index 0000000..c8b4441
@@ -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))
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH v2 1/1 perl-file-util: new package

Dear Carlos Santos,

Quoted 3 lines · Carlos Santos

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

Thanks, applied. I've only edited the commit log to indicate why a host variant was needed.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com