Skip to content

Commit

Permalink
perl-file-util: new package
Browse files Browse the repository at this point in the history
The host variant is useful to build some third-party packages that
need this Perl module.

Signed-off-by: Carlos Santos <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
Carlos Santos authored and tpetazzoni committed Mar 5, 2015
1 parent ecdcd55 commit f1611c6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,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"
Expand Down
6 changes: 6 additions & 0 deletions package/perl-file-util/Config.in
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions package/perl-file-util/perl-file-util.hash
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions package/perl-file-util/perl-file-util.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit f1611c6

Please sign in to comment.